Completed
Pull Request — master (#5171)
by
unknown
03:10
created
src/Grid/Filter/AbstractFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -501,7 +501,7 @@  discard block
 block discarded – undo
501 501
         $relation = substr($this->column, 0, strrpos($this->column, '.'));
502 502
         $args[0] = last(explode('.', $this->column));
503 503
 
504
-        return ['whereHas' => [$relation, function ($relation) use ($args) {
504
+        return ['whereHas' => [$relation, function($relation) use ($args) {
505 505
             call_user_func_array([$relation, $this->query], $args);
506 506
         }]];
507 507
     }
@@ -557,6 +557,6 @@  discard block
 block discarded – undo
557 557
             return $this->presenter()->{$method}(...$params);
558 558
         }
559 559
 
560
-        throw new \Exception('Method "' . $method . '" not exists.');
560
+        throw new \Exception('Method "'.$method.'" not exists.');
561 561
     }
562 562
 }
Please login to merge, or discard this patch.