@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Doctrine\Orm\Extension; |
15 | 15 | |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | $field = 'o.'.$field; |
58 | 58 | } else { |
59 | 59 | $alias = QueryBuilderHelper::addJoinOnce($queryBuilder, $queryNameGenerator, 'o', substr($field, 0, $pos)); |
60 | - $field = sprintf('%s.%s', $alias, substr($field, $pos+1)); |
|
60 | + $field = sprintf('%s.%s', $alias, substr($field, $pos + 1)); |
|
61 | 61 | } |
62 | 62 | $queryBuilder->addOrderBy($field, $order); |
63 | 63 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Doctrine\Orm\Util; |
15 | 15 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Doctrine\Orm\Extension; |
15 | 15 | |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | $joinString = str_replace($aliases, $replacements, $joinPart->getJoin()); |
121 | 121 | $pos = strpos($joinString, '.'); |
122 | 122 | $alias = substr($joinString, 0, $pos); |
123 | - $association = substr($joinString, $pos+1); |
|
123 | + $association = substr($joinString, $pos + 1); |
|
124 | 124 | $condition = str_replace($aliases, $replacements, $joinPart->getCondition()); |
125 | 125 | $newAlias = QueryBuilderHelper::addJoinOnce($queryBuilderClone, $queryNameGenerator, $alias, $association, $joinPart->getJoinType(), $joinPart->getConditionType(), $condition); |
126 | 126 | $aliases[] = "{$joinPart->getAlias()}."; |