Skip to content

Commit

Permalink
phpstan config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhanSalleh committed Sep 2, 2024
1 parent d77c3c7 commit 937072f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/Concerns/CanGeneratePolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected function generatePolicyStubVariables(array $entity): array
$gates[Str::studly($permission)] = $permission . '_' . $entity['resource'];

return $gates;
}, collect())->toArray();
}, []);

$stubVariables['auth_model_fqcn'] = Utils::getAuthProviderFQCN();
$stubVariables['auth_model_name'] = Str::of($stubVariables['auth_model_fqcn'])->afterLast('\\');
Expand Down

0 comments on commit 937072f

Please sign in to comment.