diff --git a/src/di/src/Definition/DefinitionSource.php b/src/di/src/Definition/DefinitionSource.php index 371053cd7..9f5095851 100644 --- a/src/di/src/Definition/DefinitionSource.php +++ b/src/di/src/Definition/DefinitionSource.php @@ -142,7 +142,7 @@ class DefinitionSource implements DefinitionSourceInterface $definitions[$identifier] = $def; } } - return array_filter($definitions); + return $definitions; } /**