Skip to content

Commit c0917cf

Browse files
stengithub-actions[bot]
authored andcommitted
Fix styling
1 parent 4637dd4 commit c0917cf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Database/Seeders/MenuSeeder.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Statikbe\FilamentFlexibleContentBlockPages\Database\Seeders;
44

5-
use Illuminate\Database\Seeder;
65
use Illuminate\Database\Eloquent\Model;
6+
use Illuminate\Database\Seeder;
77
use Illuminate\Support\Facades\Route;
88
use InvalidArgumentException;
99
use Statikbe\FilamentFlexibleContentBlockPages\Facades\FilamentFlexibleContentBlockPages;
@@ -142,7 +142,6 @@ protected function createMenuItemForModel(
142142
return $menuItem;
143143
}
144144

145-
146145
/**
147146
* Convert string labels to translatable array format.
148147
*/
@@ -174,7 +173,7 @@ private function getNextOrder(int $menuId, int $parentId): int
174173
*/
175174
private function validateRoute(string $route): void
176175
{
177-
if (!Route::has($route)) {
176+
if (! Route::has($route)) {
178177
throw new InvalidArgumentException("Route '{$route}' does not exist.");
179178
}
180179
}

0 commit comments

Comments
 (0)