split long lines
This commit is contained in:
parent
3f04546a6e
commit
e1797e1e03
|
@ -74,7 +74,8 @@ class CategoryRepository
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($categoriesLabels as $k => $category) {
|
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]);
|
unset($categoriesLabels[$k]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue