Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
drbyte authored and github-actions[bot] committed Jul 12, 2023
1 parent c22493f commit 01bcb2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PermissionRegistrar.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function forgetCachedPermissions()
return $this->cache->forget($this->cacheKey);
}

public function forgetWildcardPermissionIndex(?Model $record = null): void
public function forgetWildcardPermissionIndex(Model $record = null): void
{
if ($record) {
unset($this->wildcardPermissionsIndex[get_class($record)][$record->getKey()]);
Expand Down

0 comments on commit 01bcb2f

Please sign in to comment.