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

Commit 97add5f

Browse files
author
Andrey Helldar
authored
Update ServiceProvider.php
1 parent 46b7b37 commit 97add5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ protected function getPermissions(): array
128128
protected function doesntExistPermissionsTable(): bool
129129
{
130130
return Config::useCache()
131-
? Cache::remember(__FUNCTION__, $this->ttl(), static function () {
131+
? Cache::remember(__FUNCTION__, $this->ttl(), function () {
132132
return ! $this->existPermissionsTable();
133133
}) : ! $this->existPermissionsTable();
134134
}

0 commit comments

Comments
 (0)