Skip to content

Commit 2aca32b

Browse files
Fix styling
1 parent 29f9686 commit 2aca32b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/LaravelQueryConditions.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,19 @@ protected function formatFromRequest(array $conditions): static
6969

7070
private function handlerConditionsException(array $conditions)
7171
{
72-
if (!is_array($conditions)) {
72+
if (! is_array($conditions)) {
7373
throw new InvalidArgumentException('Invalid argument request for argument: conditions');
7474
}
7575

7676
if (count($conditions) == 0) {
7777
throw new InvalidArgumentException('The conditions array is empty');
7878
}
7979

80-
if (!array_key_exists('logicalOperator', $conditions)) {
80+
if (! array_key_exists('logicalOperator', $conditions)) {
8181
throw InvalidArgumentRequest::make('logicalOperator');
8282
}
8383

84-
if (!array_key_exists('children', $conditions)) {
84+
if (! array_key_exists('children', $conditions)) {
8585
throw InvalidArgumentRequest::make('children');
8686
}
8787
}

0 commit comments

Comments
 (0)