10000 php-cs · symfony/symfony@38d7193 · GitHub
[go: up one dir, main page]

Skip to content

Commit 38d7193

Browse files
committed
php-cs
1 parent 07a7e2a commit 38d7193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ private function createAuthorization(array $config, ContainerBuilder $container)
191191
$attributes[] = $this->createExpression($container, $access['allow_if']);
192192
}
193193

194-
$emptyAccess = \count(array_filter($access)) === 0;
194+
$emptyAccess = 0 === \count(array_filter($access));
195195

196196
if ($emptyAccess) {
197197
throw new InvalidConfigurationException('One or more access control items are empty. Did you accidentally add lines only containing a "-" under "security.access_control"?');

0 commit comments

Comments
 (0)
0