Completed
Pull Request — master (#3492)
by
unknown
02:20
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
             if (Str::contains($path, ':')) {
71 71
                 list($method, $path) = explode(':', $path);
72 72
                 $method = explode(',', $method);
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
             return false;
113 113
         }
114 114
 
115
-        $method = collect($match['method'])->filter()->map(function ($method) {
115
+        $method = collect($match['method'])->filter()->map(function($method) {
116 116
             return strtoupper($method);
117 117
         });
118 118
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     {
153 153
         parent::boot();
154 154
 
155
-        static::deleting(function ($model) {
155
+        static::deleting(function($model) {
156 156
             $model->roles()->detach();
157 157
         });
158 158
     }
Please login to merge, or discard this patch.