@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | $method = $this->http_method; |
67 | 67 | |
68 | - $matches = array_map(function ($path) use ($method) { |
|
68 | + $matches = array_map(function($path) use ($method) { |
|
69 | 69 | $path = trim(config('admin.route.prefix'), '/').$path; |
70 | 70 | |
71 | 71 | if (Str::contains($path, ':')) { |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | return false; |
100 | 100 | } |
101 | 101 | |
102 | - $method = collect($match['method'])->filter()->map(function ($method) { |
|
102 | + $method = collect($match['method'])->filter()->map(function($method) { |
|
103 | 103 | return strtoupper($method); |
104 | 104 | }); |
105 | 105 |