Completed
Push — master ( c2d23a...f43081 )
by Jesse
02:42
created
src/MappedHydrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Stratadox\Hydrator;
5 5
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         $this->make = $instances;
34 34
         $this->properties = $mapped;
35 35
         $this->observer = $observer;
36
-        $this->setter = $setter ?: function (string $attribute, $value) {
36
+        $this->setter = $setter ?: function(string $attribute, $value) {
37 37
             $this->$attribute = $value;
38 38
         };
39 39
     }
Please login to merge, or discard this patch.
src/CannotDecideOnAHydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Stratadox\Hydrator;
5 5
 
Please login to merge, or discard this patch.
src/OneOfTheseHydrators.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Stratadox\Hydrator;
5 5
 
Please login to merge, or discard this patch.
src/VariadicConstructor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Stratadox\Hydrator;
5 5
 
Please login to merge, or discard this patch.
src/HydrationFailed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Stratadox\Hydrator;
5 5
 
Please login to merge, or discard this patch.
src/ArrayHydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Stratadox\Hydrator;
5 5
 
Please login to merge, or discard this patch.
src/SimpleHydrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Stratadox\Hydrator;
5 5
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     ) {
29 29
         $this->make = $instances;
30 30
         $this->observer = $observer;
31
-        $this->setter = $setter ?: function (string $attribute, $value) {
31
+        $this->setter = $setter ?: function(string $attribute, $value) {
32 32
             $this->$attribute = $value;
33 33
         };
34 34
     }
Please login to merge, or discard this patch.
src/BlindObserver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Stratadox\Hydrator;
5 5
 
Please login to merge, or discard this patch.