8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee85536 commit 2da4ceeCopy full SHA for 2da4cee
src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterMappingsPass.php
@@ -112,7 +112,7 @@ public function __construct(
112
$this->driverPattern = $driverPattern;
113
$this->enabledParameter = $enabledParameter;
114
115
- if (\count($aliasMap) && (!$configurationPattern || !$registerAliasMethodName)) {
+ if ($aliasMap && (!$configurationPattern || !$registerAliasMethodName)) {
116
throw new \InvalidArgumentException('configurationPattern and registerAliasMethodName are required to register namespace alias.');
117
}
118
0 commit comments