@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | $method = $this->http_method; |
71 | 71 | |
72 | - $matches = array_map(function ($path) use ($method) { |
|
72 | + $matches = array_map(function($path) use ($method) { |
|
73 | 73 | |
74 | 74 | if (Str::contains($path, ':')) { |
75 | 75 | list($method, $path) = explode(':', $path); |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | return false; |
122 | 122 | } |
123 | 123 | |
124 | - $method = collect($match['method'])->filter()->map(function ($method) { |
|
124 | + $method = collect($match['method'])->filter()->map(function($method) { |
|
125 | 125 | return strtoupper($method); |
126 | 126 | }); |
127 | 127 | |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | { |
162 | 162 | parent::boot(); |
163 | 163 | |
164 | - static::deleting(function ($model) { |
|
164 | + static::deleting(function($model) { |
|
165 | 165 | $model->roles()->detach(); |
166 | 166 | }); |
167 | 167 | } |