Completed
Push — master ( 6ef60a...c2d23a )
by Jesse
01:51
created
src/MappedHydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 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/SimpleHydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     ) {
30 30
         $this->make = $instances;
31 31
         $this->observer = $observer;
32
-        $this->setter = $setter ?: function (string $attribute, $value) {
32
+        $this->setter = $setter ?: function(string $attribute, $value) {
33 33
             $this->$attribute = $value;
34 34
         };
35 35
     }
Please login to merge, or discard this patch.