PSR 2 compliance

This commit is contained in:
Simon Vieille
2021-02-03 10:15:59 +01:00
parent 64da45e676
commit 13f7e63514
5 changed files with 16 additions and 25 deletions
+2 -1
View File
@@ -189,7 +189,8 @@ class NavController extends Controller
foreach ($categoriesLabels as $key => $value) {
if ($a['categoryId'] === $key) {
return -1;
} elseif ($b['categoryId'] === $key) {
}
if ($b['categoryId'] === $key) {
return 1;
}
}