Completed
Pull Request — master (#3227)
by
unknown
02:26
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 ((config('admin.route.prefix-permission-ignore') !== null) && (config('admin.route.prefix-permission-ignore') === false)) {
71 71
                 $path = trim(config('admin.route.prefix'), '/').$path;
72 72
             }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
             return false;
115 115
         }
116 116
 
117
-        $method = collect($match['method'])->filter()->map(function ($method) {
117
+        $method = collect($match['method'])->filter()->map(function($method) {
118 118
             return strtoupper($method);
119 119
         });
120 120
 
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     {
155 155
         parent::boot();
156 156
 
157
-        static::deleting(function ($model) {
157
+        static::deleting(function($model) {
158 158
             $model->roles()->detach();
159 159
         });
160 160
     }
Please login to merge, or discard this patch.