@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | |
67 | 67 | $method = $this->http_method; |
68 | 68 | |
69 | - $matches = array_map(function ($path) use ($method) { |
|
69 | + $matches = array_map(function($path) use ($method) { |
|
70 | 70 | $path = admin_base_path($path); |
71 | 71 | |
72 | 72 | if (Str::contains($path, ':')) { |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | return false; |
119 | 119 | } |
120 | 120 | |
121 | - $method = collect($match['method'])->filter()->map(function ($method) { |
|
121 | + $method = collect($match['method'])->filter()->map(function($method) { |
|
122 | 122 | return strtoupper($method); |
123 | 123 | }); |
124 | 124 | |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | { |
159 | 159 | parent::boot(); |
160 | 160 | |
161 | - static::deleting(function ($model) { |
|
161 | + static::deleting(function($model) { |
|
162 | 162 | $model->roles()->detach(); |
163 | 163 | }); |
164 | 164 | } |