Passed
Push — master ( ad7663...2cca5c )
by Nate
03:40
created
src/Annotation/Expose.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Annotation;
10 10
 
Please login to merge, or discard this patch.
src/Annotation/Exclude.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Annotation;
10 10
 
Please login to merge, or discard this patch.
src/Internal/ObjectConstructorAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Internal;
10 10
 
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/WildcardTypeAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Internal\TypeAdapter;
10 10
 
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/Factory/JsonElementTypeAdapterFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Internal\TypeAdapter\Factory;
10 10
 
Please login to merge, or discard this patch.
src/Internal/Data/MetadataPropertyCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Internal\Data;
10 10
 
Please login to merge, or discard this patch.
src/Internal/PhpTypeFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Internal;
10 10
 
@@ -52,12 +52,12 @@  discard block
 block discarded – undo
52 52
         if (null !== $setterMethod && [] !== $setterMethod->getParameters()) {
53 53
             $parameter = $setterMethod->getParameters()[0];
54 54
             if (null !== $parameter->getType()) {
55
-                return new TypeToken((string) $parameter->getType());
55
+                return new TypeToken((string)$parameter->getType());
56 56
             }
57 57
         }
58 58
 
59 59
         if (null !== $getterMethod && null !== $getterMethod->getReturnType()) {
60
-            return new TypeToken((string) $getterMethod->getReturnType());
60
+            return new TypeToken((string)$getterMethod->getReturnType());
61 61
         }
62 62
 
63 63
         if (null !== $setterMethod && [] !== $setterMethod->getParameters()) {
Please login to merge, or discard this patch.
src/Internal/AccessorStrategy/SetByPublicProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Internal\AccessorStrategy;
10 10
 
Please login to merge, or discard this patch.
src/Internal/AccessorStrategy/GetByClosure.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5 5
  */
6 6
 
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace Tebru\Gson\Internal\AccessorStrategy;
10 10
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     public function get($object)
63 63
     {
64 64
         if (null === $this->getter) {
65
-            $this->getter = Closure::bind(function ($object, string $propertyName) {
65
+            $this->getter = Closure::bind(function($object, string $propertyName) {
66 66
                 return $object->{$propertyName};
67 67
             }, null, $this->className);
68 68
         }
Please login to merge, or discard this patch.