@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | $counts[$file][$hash][] = $release; |
| 153 | 153 | } |
| 154 | 154 | } |
| 155 | - uasort($counts, function ($a, $b) { |
|
| 155 | + uasort($counts, function($a, $b) { |
|
| 156 | 156 | return count($b) - count($a); |
| 157 | 157 | }); |
| 158 | 158 | return $counts; |
@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | */ |
| 236 | 236 | protected function saveUniqueVersions($fingerprints) |
| 237 | 237 | { |
| 238 | - uasort($fingerprints, function ($a, $b) { |
|
| 238 | + uasort($fingerprints, function($a, $b) { |
|
| 239 | 239 | return count($b) - count($a); |
| 240 | 240 | }); |
| 241 | 241 | $json = str_replace('\\/', '/', json_encode($fingerprints, JSON_PRETTY_PRINT)); |