split long lines

This commit is contained in:
Simon Vieille
2022-12-04 13:01:56 +01:00
parent 3f04546a6e
commit e1797e1e03
+2 -1
View File
@@ -74,7 +74,8 @@ class CategoryRepository
}
foreach ($categoriesLabels as $k => $category) {
$categoriesLabels[$category['id']] = $category['translations'][$currentLanguage]['name'] ?? $category['translations']['en']['name'];
$categoriesLabels[$category['id']] = $category['translations'][$currentLanguage]['name'] ??
$category['translations']['en']['name'];
unset($categoriesLabels[$k]);
}