Completed
Pull Request — master (#956)
by Han Hui
03:07
created
src/Bridge/Doctrine/Orm/SubresourceDataProvider.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;
15 15
 
Please login to merge, or discard this patch.
src/DataProvider/SubresourceDataProviderInterface.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.
src/DataProvider/ChainSubresourceDataProvider.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.
src/Serializer/AbstractItemNormalizer.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\Serializer;
15 15
 
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             $this->identifiersExtractor = $identifiersExtractor;
65 65
         }
66 66
 
67
-        $this->setCircularReferenceHandler(function ($object) {
67
+        $this->setCircularReferenceHandler(function($object) {
68 68
             return $this->hasIri($object) ? $this->iriConverter->getIriFromItem($object) : spl_object_hash($object);
69 69
         });
70 70
     }
Please login to merge, or discard this patch.
src/Bridge/Symfony/Routing/RouteNameGenerator.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\Routing;
15 15
 
Please login to merge, or discard this patch.
src/Metadata/Property/SubresourceMetadata.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\Metadata\Property;
15 15
 
Please login to merge, or discard this patch.
src/Annotation/ApiSubresource.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\Annotation;
15 15
 
Please login to merge, or discard this patch.
src/Metadata/Property/Factory/AnnotationSubresourceMetadataFactory.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\Metadata\Property\Factory;
15 15
 
Please login to merge, or discard this patch.
src/Security/ExpressionLanguage.php 1 patch
Spacing   +3 added lines, -3 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
  * This file is part of the API Platform project.
15 15
  *
@@ -37,9 +37,9 @@  discard block
 block discarded – undo
37 37
     {
38 38
         parent::registerFunctions();
39 39
 
40
-        $this->register('is_granted', function ($attributes, $object = 'null') {
40
+        $this->register('is_granted', function($attributes, $object = 'null') {
41 41
             return sprintf('$auth_checker->isGranted(%s, %s)', $attributes, $object);
42
-        }, function (array $variables, $attributes, $object = null) {
42
+        }, function(array $variables, $attributes, $object = null) {
43 43
             return $variables['auth_checker']->isGranted($attributes, $object);
44 44
         });
45 45
     }
Please login to merge, or discard this patch.