We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | * |
| 34 | 34 | * @return void |
| 35 | 35 | */ |
| 36 | - public function pageSelectAction(PageSelectForm $pageSelectForm = NULL): void |
|
| 36 | + public function pageSelectAction(PageSelectForm $pageSelectForm = null): void |
|
| 37 | 37 | { |
| 38 | 38 | if ($pageSelectForm) { |
| 39 | 39 | $uri = $this->uriBuilder->reset() |
@@ -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 | } |
@@ -352,7 +352,8 @@ |
||
| 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 | 357 | if (!empty($firstElement['orderlabel'])) { |
| 357 | 358 | return $firstElement['orderlabel'] <=> $secondElement['orderlabel']; |
| 358 | 359 | } |