Skip to content

Commit b9d40f1

Browse files
committed
style fix
1 parent eba77e9 commit b9d40f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Compiler/FormatListenerRulesPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private function createRequestMatcher(ContainerBuilder $container, ?string $path
102102
if (!is_null($methods)) {
103103
$matchers[] = new Definition(MethodRequestMatcher::class, [$methods]);
104104
}
105-
if ($attributes !== []) {
105+
if ([] !== $attributes) {
106106
$matchers[] = new Definition(AttributesRequestMatcher::class, [$attributes]);
107107
}
108108
$container

0 commit comments

Comments
 (0)