Passed
Push — master ( 106fd1...c4e340 )
by Jesse
02:24 queued 20s
created
src/PropertyUpdater.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Stratadox\Hydration\Proxying;
6 6
 
@@ -26,13 +26,13 @@  discard block
 block discarded – undo
26 26
     ) {
27 27
         $this->owner = $theOwner;
28 28
         $this->propertyShouldReference = $theProperty;
29
-        $this->setter = $setter ?: function (string $property, $value) : void
29
+        $this->setter = $setter ?: function(string $property, $value) : void
30 30
         {
31 31
             $this->$property = $value;
32 32
         };
33 33
     }
34 34
 
35
-    public static function for(
35
+    public static function for (
36 36
         $theOwner,
37 37
         string $ofTheProperty,
38 38
         Closure $setter = null
Please login to merge, or discard this patch.
src/Loader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Stratadox\Hydration\Proxying;
6 6
 
Please login to merge, or discard this patch.
src/PropertyUpdaterFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Stratadox\Hydration\Proxying;
6 6
 
@@ -21,6 +21,6 @@  discard block
 block discarded – undo
21 21
         $atPosition = null
22 22
     ) : UpdatesTheProxyOwner
23 23
     {
24
-        return PropertyUpdater::for($theOwner, $ofTheProperty);
24
+        return PropertyUpdater::for ($theOwner, $ofTheProperty);
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/AlterableCollectionEntryUpdaterFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Stratadox\Hydration\Proxying;
6 6
 
@@ -21,6 +21,6 @@  discard block
 block discarded – undo
21 21
         $atPosition = null
22 22
     ) : UpdatesTheProxyOwner
23 23
     {
24
-        return AlterableCollectionEntryUpdater::for($theOwner, $ofTheProperty, $atPosition);
24
+        return AlterableCollectionEntryUpdater::for ($theOwner, $ofTheProperty, $atPosition);
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/AlterableCollectionEntryUpdater.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Stratadox\Hydration\Proxying;
6 6
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $this->owner = $theOwner;
31 31
         $this->propertyShouldReference = $theProperty;
32 32
         $this->atPosition = $atPosition;
33
-        $this->setter = $setter ?: function (string $property, $value, $position) : void
33
+        $this->setter = $setter ?: function(string $property, $value, $position) : void
34 34
         {
35 35
             $original = $this->$property;
36 36
             if (!$original instanceof Alterable) {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         };
43 43
     }
44 44
 
45
-    public static function for(
45
+    public static function for (
46 46
         $theOwner,
47 47
         string $ofTheProperty,
48 48
         $atPosition,
Please login to merge, or discard this patch.
src/ArrayEntryUpdaterFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Stratadox\Hydration\Proxying;
6 6
 
@@ -21,6 +21,6 @@  discard block
 block discarded – undo
21 21
         $atPosition = null
22 22
     ) : UpdatesTheProxyOwner
23 23
     {
24
-        return ArrayEntryUpdater::for($theOwner, $ofTheProperty, $atPosition);
24
+        return ArrayEntryUpdater::for ($theOwner, $ofTheProperty, $atPosition);
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/ArrayEntryUpdater.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Stratadox\Hydration\Proxying;
6 6
 
@@ -29,13 +29,13 @@  discard block
 block discarded – undo
29 29
         $this->owner = $theOwner;
30 30
         $this->propertyShouldReference = $theProperty;
31 31
         $this->atPosition = $atPosition;
32
-        $this->setter = $setter ?: function (string $property, $value, $position) : void
32
+        $this->setter = $setter ?: function(string $property, $value, $position) : void
33 33
         {
34 34
             $this->$property[$position] = $value;
35 35
         };
36 36
     }
37 37
 
38
-    public static function for(
38
+    public static function for (
39 39
         $theOwner,
40 40
         string $ofTheProperty,
41 41
         $atPosition,
Please login to merge, or discard this patch.
src/ProxyFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Stratadox\Hydration\Proxying;
6 6
 
Please login to merge, or discard this patch.
src/Proxying.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Stratadox\Hydration\Proxying;
6 6
 
Please login to merge, or discard this patch.