Completed
Pull Request — 2.1 (#1324)
by Vincent
04:11 queued 01:02
created
src/Bridge/Doctrine/Orm/Extension/OrderExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Util/QueryBuilderHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Extension/FilterEagerLoadingExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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()}.";
Please login to merge, or discard this patch.