Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-09 00:03:03 -04:00
parent 8d4d610b82
commit b5fd4a4ca1
1414 changed files with 11317 additions and 10201 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ class NavbarService
public function getMenuForRoles(array $roles): array
{
$roles = array_values(array_filter(array_map(fn ($r) => strtolower(trim((string) $r)), $roles)));
$cacheKey = 'navbar_' . md5(json_encode($roles));
$cacheKey = 'navbar_'.md5(json_encode($roles));
return Cache::remember($cacheKey, 300, function () use ($roles) {
$allowedIds = RoleNavItem::getNavItemIdsForRoles($roles);
@@ -75,7 +75,7 @@ class NavbarService
});
foreach ($nodes as &$node) {
if (!empty($node['children'])) {
if (! empty($node['children'])) {
$this->sortTreeAlpha($node['children']);
}
}