Completed
Pull Request — master (#3999)
by
unknown
03:17
created
src/Auth/Database/Permission.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
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
             $path = admin_base_path($path);
71 71
 
72 72
             if (Str::contains($path, ':')) {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
             return false;
119 119
         }
120 120
 
121
-        $method = collect($match['method'])->filter()->map(function ($method) {
121
+        $method = collect($match['method'])->filter()->map(function($method) {
122 122
             return strtoupper($method);
123 123
         });
124 124
 
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     {
159 159
         parent::boot();
160 160
 
161
-        static::deleting(function ($model) {
161
+        static::deleting(function($model) {
162 162
             $model->roles()->detach();
163 163
         });
164 164
     }
Please login to merge, or discard this patch.