Passed
Branch master (d60904)
by Jesse
04:11
created
Category
src/VariadicConstructor.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\Hydrator;
6 6
 
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,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\Hydrator;
6 6
 
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,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\Hydrator;
6 6
 
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,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\Hydrator;
6 6
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
         Closure $setter = null
25 25
     ) {
26 26
         $this->class = $reflector;
27
-        $this->setter = $setter ?: function (string $attribute, $value)
27
+        $this->setter = $setter ?: function(string $attribute, $value)
28 28
         {
29 29
             $this->$attribute = $value;
30 30
         };
Please login to merge, or discard this patch.
src/MappedHydrator.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\Hydrator;
6 6
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     ) {
30 30
         $this->mapper = $mapped;
31 31
         $this->class = $reflector;
32
-        $this->setter = $setter ?: function (string $attribute, $value)
32
+        $this->setter = $setter ?: function(string $attribute, $value)
33 33
         {
34 34
             $this->$attribute = $value;
35 35
         };
Please login to merge, or discard this patch.