@@ -475,7 +475,7 @@ |
||
475 | 475 | $relation = substr($this->column, 0, strrpos($this->column, '.')); |
476 | 476 | $args[0] = last(explode('.', $this->column)); |
477 | 477 | |
478 | - return ['whereHas' => [$relation, function ($relation) use ($args) { |
|
478 | + return ['whereHas' => [$relation, function($relation) use ($args) { |
|
479 | 479 | call_user_func_array([$relation, $this->query], $args); |
480 | 480 | }]]; |
481 | 481 | } |