Skip to content

Commit aebea64

Browse files
RoyHypeMC
authored andcommitted
spaceship!
1 parent 7bd4ddc commit aebea64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Compiler/AddProcessorsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function process(ContainerBuilder $container)
5151
usort(
5252
$processors,
5353
function (array $left, array $right) {
54-
return $left['tag']['priority'] - $right['tag']['priority'];
54+
return $left['tag']['priority'] <=> $right['tag']['priority'];
5555
}
5656
);
5757

0 commit comments

Comments
 (0)