Completed
Push — master ( 53c26d...e4a8fe )
by Song
03:36 queued 01:22
created
src/Auth/Database/Permission.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
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'), '/').'/'.trim($path, '/');
70 70
 
71 71
             if (Str::contains($path, ':')) {
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
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
 
Please login to merge, or discard this patch.