Passed
Push — master ( da4da2...955b82 )
by Nate
04:34
created
src/Internal/AccessorStrategy/GetByMethod.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
 namespace Tebru\Gson\Internal\AccessorStrategy;
9 9
 
10 10
 use Tebru\Gson\Internal\GetterStrategy;
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
 namespace Tebru\Gson\Internal\AccessorStrategy;
9 9
 
10 10
 use Closure;
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     public function set($object, $value): void
55 55
     {
56 56
         if (null === $this->setter) {
57
-            $this->setter = Closure::bind(function ($object, $value, string $propertyName) {
57
+            $this->setter = Closure::bind(function($object, $value, string $propertyName) {
58 58
                 $object->{$propertyName} = $value;
59 59
             }, null, $this->className);
60 60
         }
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
 namespace Tebru\Gson\Internal\AccessorStrategy;
9 9
 
10 10
 use Closure;
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     public function get($object)
62 62
     {
63 63
         if (null === $this->getter) {
64
-            $this->getter = Closure::bind(function ($object, string $propertyName) {
64
+            $this->getter = Closure::bind(function($object, string $propertyName) {
65 65
                 return $object->{$propertyName};
66 66
             }, null, $this->className);
67 67
         }
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
 namespace Tebru\Gson\Internal\AccessorStrategy;
9 9
 
10 10
 use Tebru\Gson\Internal\SetterStrategy;
Please login to merge, or discard this patch.
src/Internal/Data/AnnotationSet.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
 namespace Tebru\Gson\Internal\Data;
9 9
 
10 10
 use InvalidArgumentException;
Please login to merge, or discard this patch.
src/Internal/Data/ReflectionPropertySetFactory.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
 namespace Tebru\Gson\Internal\Data;
9 9
 
10 10
 use ReflectionClass;
Please login to merge, or discard this patch.
src/Internal/Data/Property.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
 namespace Tebru\Gson\Internal\Data;
9 9
 
10 10
 use Tebru\Gson\Internal\GetterStrategy;
Please login to merge, or discard this patch.
src/Internal/Data/PropertyCollection.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
 namespace Tebru\Gson\Internal\Data;
9 9
 
10 10
 use ArrayIterator;
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * @param string $name
53 53
      * @return Property|null
54 54
      */
55
-    public function getBySerializedName(string $name): ?Property
55
+    public function getBySerializedName(string $name): ? Property
56 56
     {
57 57
         if (!isset($this->elements[$name])) {
58 58
             return null;
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
 namespace Tebru\Gson\Internal\Data;
9 9
 
10 10
 use Tebru\Gson\PropertyMetadata;
Please login to merge, or discard this patch.