Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhanSalleh authored and actions-user committed Jan 10, 2022
1 parent af05115 commit 5e14eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/MakeGenerateShieldCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function handle(): int

return self::INVALID;
}
} else if ($this->option('except')) {
} elseif ($this->option('except')) {
$exceptResources = config('filament-shield.except.resources');
$removedExemptedResource = collect(Filament::getResources())->filter(function ($resource) use ($exceptResources) {
return ! in_array(Str::before(Str::afterLast($resource, '\\'), 'Resource'), $exceptResources);
Expand Down

0 comments on commit 5e14eb1

Please sign in to comment.