We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | } |
| 320 | 320 | } |
| 321 | 321 | } |
| 322 | - return $entry['label'] ?: $entry['orderlabel']; |
|
| 322 | + return $entry['label'] ? : $entry['orderlabel']; |
|
| 323 | 323 | } |
| 324 | 324 | |
| 325 | 325 | /** |
@@ -352,7 +352,7 @@ discard block |
||
| 352 | 352 | */ |
| 353 | 353 | private function sortSubMenu(array &$menu): void |
| 354 | 354 | { |
| 355 | - usort($menu[0]['_SUB_MENU'], function ($firstElement, $secondElement) { |
|
| 355 | + usort($menu[0]['_SUB_MENU'], function($firstElement, $secondElement) { |
|
| 356 | 356 | if (!empty($firstElement['orderlabel'])) { |
| 357 | 357 | return $firstElement['orderlabel'] <=> $secondElement['orderlabel']; |
| 358 | 358 | } |