Completed
Pull Request — master (#4338)
by xiaohui
02:24
created
src/Grid/Filter/Scope.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     public function condition()
59 59
     {
60
-        return $this->queries->map(function ($query) {
60
+        return $this->queries->map(function($query) {
61 61
             return [$query['method'] => $query['arguments']];
62 62
         })->toArray();
63 63
     }
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     public function asDefault()
85 85
     {
86 86
         if (!request()->input('_scope_')) {
87
-            request()->merge(['_scope_' => $this->key,]);
87
+            request()->merge(['_scope_' => $this->key, ]);
88 88
         }
89 89
         return $this;
90 90
     }
Please login to merge, or discard this patch.