@@ -50,9 +50,9 @@ |
||
| 50 | 50 | } |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - uasort($commands, function (Command $a, Command $b) { |
|
| 54 | - if($a->getScore() > -1) { |
|
| 55 | - return$b->getScore() <=> $a->getScore() ; |
|
| 53 | + uasort($commands, function(Command $a, Command $b) { |
|
| 54 | + if ($a->getScore() > -1) { |
|
| 55 | + return$b->getScore() <=> $a->getScore(); |
|
| 56 | 56 | } |
| 57 | 57 | return $a->getFullyQualifiedIdentifier() <=> $b->getFullyQualifiedIdentifier(); |
| 58 | 58 | }); |