We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f39c0c + d176516 commit bc8ebb7Copy full SHA for bc8ebb7
src/RequestParameters/RelationsParameter.php
@@ -27,9 +27,8 @@ public function appendQuery(): void
27
continue;
28
}
29
30
- throw new JsonQueryBuilderException("Wrong relation parameters provided.");
+ throw new JsonQueryBuilderException('Wrong relation parameters provided.');
31
32
-
33
34
35
protected function appendSimpleRelation(string $argument): void
@@ -43,10 +42,8 @@ protected function appendComplexRelation(array $argument): void
43
42
$input = $argument[$relation];
44
45
$this->builder->with([$relation => function ($query) use ($input) {
46
47
$jsonQuery = new JsonQuery($query->getQuery(), $input);
48
$jsonQuery->search();
49
50
}]);
51
52
0 commit comments