Passed
Push — master ( 45e352...cf554c )
by Jesse
04:33
created
src/MappedHydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $this->class = $reflector;
33 33
         $this->properties = $mapped;
34 34
         $this->observer = $observer;
35
-        $this->setter = $setter ?: function (string $attribute, $value) {
35
+        $this->setter = $setter ?: function(string $attribute, $value) {
36 36
             $this->$attribute = $value;
37 37
         };
38 38
     }
Please login to merge, or discard this patch.
src/SimpleHydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     ) {
29 29
         $this->class = $reflector;
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.