Completed
Pull Request — master (#5799)
by
unknown
20s
created
src/Auth/Database/Permission.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.