Skip to content

Commit 0f39c0c

Browse files
committed
Fix for relations
1 parent fc68466 commit 0f39c0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RequestParameters/RelationsParameter.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ public function appendQuery(): void
1919

2020
if (is_string($argument)) {
2121
$this->appendSimpleRelation($argument);
22-
return;
22+
continue;
2323
}
2424

2525
if (is_array($argument) && count($argument) > 0) {
2626
$this->appendComplexRelation($argument);
27-
return;
27+
continue;
2828
}
2929

3030
throw new JsonQueryBuilderException("Wrong relation parameters provided.");

0 commit comments

Comments
 (0)