@@ -19,7 +19,7 @@ |
||
| 19 | 19 | */ |
| 20 | 20 | public function apply(Builder $builder, Model $model) |
| 21 | 21 | { |
| 22 | - if (Helpers::hasAdminGateAccess()){ |
|
| 22 | + if (Helpers::hasAdminGateAccess()) { |
|
| 23 | 23 | return; |
| 24 | 24 | } |
| 25 | 25 | |
@@ -2,6 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | use Illuminate\Database\Eloquent\Model; |
| 4 | 4 | |
| 5 | -return function (?Model $user) { |
|
| 5 | +return function(?Model $user) { |
|
| 6 | 6 | return true; |
| 7 | 7 | }; |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | use Illuminate\Database\Eloquent\Model; |
| 4 | 4 | |
| 5 | -return function (?Model $user) { |
|
| 5 | +return function(?Model $user) { |
|
| 6 | 6 | // Do not copy the internals for this gate, as it provides backwards compatibility. |
| 7 | 7 | if (!$user) { |
| 8 | 8 | return false; |