@@ -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 | if (Str::contains($path, ':')) { |
71 | 71 | list($method, $path) = explode(':', $path); |
72 | 72 | $method = explode(',', $method); |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | return false; |
113 | 113 | } |
114 | 114 | |
115 | - $method = collect($match['method'])->filter()->map(function ($method) { |
|
115 | + $method = collect($match['method'])->filter()->map(function($method) { |
|
116 | 116 | return strtoupper($method); |
117 | 117 | }); |
118 | 118 | |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | { |
153 | 153 | parent::boot(); |
154 | 154 | |
155 | - static::deleting(function ($model) { |
|
155 | + static::deleting(function($model) { |
|
156 | 156 | $model->roles()->detach(); |
157 | 157 | }); |
158 | 158 | } |