From b65033375b536b5c89ddf65db642c68b9109b148 Mon Sep 17 00:00:00 2001 From: ciastektk Date: Mon, 8 Jan 2024 10:49:45 +0100 Subject: [PATCH] [PHPStan] Fixed lambda return type in IbexaCoreExtension (#317) See https://github.com/ibexa/core/pull/317 for more details. --- src/bundle/Core/DependencyInjection/IbexaCoreExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php b/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php index af250d764f..a5d2735786 100644 --- a/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php +++ b/src/bundle/Core/DependencyInjection/IbexaCoreExtension.php @@ -648,7 +648,7 @@ private function prependDoctrineConfiguration(ContainerBuilder $container): void if (isset($config['repositories'])) { $repositoryConnections[] = array_map( - static function (array $repository): ?string { + static function (array $repository): string { return $repository['storage']['connection'] ?? 'default'; },