@@ -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 ((config('admin.route.prefix-permission-ignore') !== null) && (config('admin.route.prefix-permission-ignore') === false)) { |
71 | 71 | $path = trim(config('admin.route.prefix'), '/').$path; |
72 | 72 | } |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | return false; |
115 | 115 | } |
116 | 116 | |
117 | - $method = collect($match['method'])->filter()->map(function ($method) { |
|
117 | + $method = collect($match['method'])->filter()->map(function($method) { |
|
118 | 118 | return strtoupper($method); |
119 | 119 | }); |
120 | 120 | |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | { |
155 | 155 | parent::boot(); |
156 | 156 | |
157 | - static::deleting(function ($model) { |
|
157 | + static::deleting(function($model) { |
|
158 | 158 | $model->roles()->detach(); |
159 | 159 | }); |
160 | 160 | } |