Skip to content

Commit 76d8df6

Browse files
Apply fixes from StyleCI (#27)
Co-authored-by: StyleCI Bot <bot@styleci.io>
1 parent efe59bb commit 76d8df6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Actions/SyncDefinedRole.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ public function handle(string $name, string $guard, array $permissions): void
1717
$permissions = collect($permissions)
1818
->map(fn ($permission): string => match (true) {
1919
$permission instanceof BackedEnum => $permission->value,
20-
default => (string) $permission
20+
default => (string) $permission
2121
})->implode('|');
22-
22+
2323
Artisan::call(CreateRole::class, [
24-
'name' => $name,
25-
'guard' => $guard,
26-
'permissions' => $permissions
24+
'name' => $name,
25+
'guard' => $guard,
26+
'permissions' => $permissions,
2727
]);
2828
}
2929
}

src/Jobs/ResetPermissions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct(?string $guard = null)
2626
}
2727

2828
/**
29-
* Handle resetting permissions
29+
* Handle resetting permissions.
3030
*/
3131
public function handle(): void
3232
{

0 commit comments

Comments
 (0)