Skip to content

Commit

Permalink
spaceship!
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy authored and HypeMC committed Jul 29, 2024
1 parent 713c6ef commit 518c012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/Compiler/AddProcessorsPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function process(ContainerBuilder $container)
usort(
$processors,
function (array $left, array $right) {
return $left['tag']['priority'] - $right['tag']['priority'];
return $left['tag']['priority'] <=> $right['tag']['priority'];
}
);

Expand Down

0 comments on commit 518c012

Please sign in to comment.