Passed
Push — master ( ad7663...2cca5c )
by Nate
03:40
created
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.
src/Internal/AccessorStrategy/SetByClosure.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
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     public function set($object, $value): void
56 56
     {
57 57
         if (null === $this->setter) {
58
-            $this->setter = Closure::bind(function ($object, $value, string $propertyName) {
58
+            $this->setter = Closure::bind(function($object, $value, string $propertyName) {
59 59
                 $object->{$propertyName} = $value;
60 60
             }, null, $this->className);
61 61
         }
Please login to merge, or discard this patch.
src/Internal/ObjectConstructor/CreateFromReflectionClass.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\ObjectConstructor;
10 10
 
Please login to merge, or discard this patch.
src/TypeAdapter.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;
10 10
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
         $this->write($writer, $var);
82 82
 
83
-        return (string) $writer;
83
+        return (string)$writer;
84 84
     }
85 85
 
86 86
     /**
Please login to merge, or discard this patch.
src/Gson.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;
10 10
 
Please login to merge, or discard this patch.
src/TypeAdapterFactory.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;
10 10
 
Please login to merge, or discard this patch.
src/JsonReadable.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;
10 10
 
Please login to merge, or discard this patch.
src/ExclusionStrategy.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;
10 10
 
Please login to merge, or discard this patch.