@@ -28,7 +28,7 @@ |
||
28 | 28 | |
29 | 29 | public static function sortByPriority(array &$haystack): void |
30 | 30 | { |
31 | - uasort($haystack, function ($a, $b) { |
|
31 | + uasort($haystack, function($a, $b) { |
|
32 | 32 | $prorityOfA = $a instanceof Prioritable ? $a->getPriority() : Prioritable::LOWEST_PRIORITY; |
33 | 33 | $prorityOfB = $b instanceof Prioritable ? $b->getPriority() : Prioritable::LOWEST_PRIORITY; |
34 | 34 |