Skip to content

Commit 2e548ef

Browse files
SlimGeegithub-actions[bot]
authored andcommitted
Fix styling
1 parent 5b5bdff commit 2e548ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Commands/GeneratePermissionsCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function handle(): int
5555
protected function generatePermissionsForAllModels(): void
5656
{
5757
$this->getModels()->each(
58-
fn(string $model) => $this->generatePermissions($model)
58+
fn (string $model) => $this->generatePermissions($model)
5959
);
6060
}
6161

@@ -70,7 +70,7 @@ public function generatePermissions(string $model): void
7070
$permissions = config('authorizer.permissions');
7171

7272
collect($permissions)->each(
73-
fn(string $permission) => $this->generatePermission(
73+
fn (string $permission) => $this->generatePermission(
7474
$model,
7575
$permission
7676
)
@@ -91,12 +91,12 @@ public function generatePermission(string $model, string $permission): mixed
9191
Str::contains($permission, 'all')
9292
) {
9393
return Permission::findOrCreate(
94-
$permission . ' ' . Str::snake(Str::plural(Str::lower($model)))
94+
$permission.' '.Str::snake(Str::plural(Str::lower($model)))
9595
);
9696
}
9797

9898
return Permission::findOrCreate(
99-
$permission . ' ' . Str::snake(Str::lower($model))
99+
$permission.' '.Str::snake(Str::lower($model))
100100
);
101101
}
102102
}

0 commit comments

Comments
 (0)