Skip to content

Commit bc8ebb7

Browse files
committed
Minor
2 parents 0f39c0c + d176516 commit bc8ebb7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/RequestParameters/RelationsParameter.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ public function appendQuery(): void
2727
continue;
2828
}
2929

30-
throw new JsonQueryBuilderException("Wrong relation parameters provided.");
30+
throw new JsonQueryBuilderException('Wrong relation parameters provided.');
3131
}
32-
3332
}
3433

3534
protected function appendSimpleRelation(string $argument): void
@@ -43,10 +42,8 @@ protected function appendComplexRelation(array $argument): void
4342
$input = $argument[$relation];
4443

4544
$this->builder->with([$relation => function ($query) use ($input) {
46-
4745
$jsonQuery = new JsonQuery($query->getQuery(), $input);
4846
$jsonQuery->search();
49-
5047
}]);
5148
}
5249
}

0 commit comments

Comments
 (0)