Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
Update ServiceProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar authored Jul 14, 2020
1 parent 46b7b37 commit 97add5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected function getPermissions(): array
protected function doesntExistPermissionsTable(): bool
{
return Config::useCache()
? Cache::remember(__FUNCTION__, $this->ttl(), static function () {
? Cache::remember(__FUNCTION__, $this->ttl(), function () {
return ! $this->existPermissionsTable();
}) : ! $this->existPermissionsTable();
}
Expand Down

0 comments on commit 97add5f

Please sign in to comment.