Completed
Pull Request — master (#1658)
by Niels
03:52
created
src/Validator/Exception/ValidationException.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\Validator\Exception;
15 15
 
Please login to merge, or discard this patch.
src/Validator/EventListener/ValidateListener.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\Validator\EventListener;
15 15
 
Please login to merge, or discard this patch.
src/Bridge/Symfony/Validator/Validator.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\Symfony\Validator;
15 15
 
Please login to merge, or discard this patch.
src/DataProvider/ContextAwareCollectionDataProviderInterface.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\DataProvider;
15 15
 
Please login to merge, or discard this patch.
Doctrine/Orm/Extension/ContextAwareQueryResultItemExtensionInterface.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\Extension;
15 15
 
Please login to merge, or discard this patch.
Doctrine/Orm/Extension/ContextAwareQueryCollectionExtensionInterface.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\Extension;
15 15
 
Please login to merge, or discard this patch.
Bridge/Doctrine/Orm/Extension/ContextAwareQueryItemExtensionInterface.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\Extension;
15 15
 
Please login to merge, or discard this patch.
Orm/Extension/ContextAwareQueryResultCollectionExtensionInterface.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\Extension;
15 15
 
Please login to merge, or discard this patch.
src/EventListener/ReadListener.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\EventListener;
15 15
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 
134 134
         $attributes['subresource_context'] += $context;
135 135
         $identifiers = [];
136
-        foreach ($attributes['subresource_context']['identifiers'] as $key => list($id, , $hasIdentifier)) {
136
+        foreach ($attributes['subresource_context']['identifiers'] as $key => list($id,, $hasIdentifier)) {
137 137
             if (true === $hasIdentifier) {
138 138
                 $identifiers[$id] = $request->attributes->get($id);
139 139
             }
Please login to merge, or discard this patch.