Test Failed
Branch master (29bcc5)
by Matt
11:10
created
Category
src/Mappings/MethodMapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         $parameters = $this->reflector->getParameters();
48 48
 
49
-        return $parameters[0]?->getType();
49
+        return $parameters[0] ? ->getType();
50 50
     }
51 51
 
52 52
     /**
Please login to merge, or discard this patch.
src/Hydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
             return;
114 114
         }
115 115
 
116
-        $type = $mapping->getType()?->getName() ?? stdClass::class;
116
+        $type = $mapping->getType() ? ->getName() ?? stdClass::class;
117 117
         $mapping->setValue($object, $this->hydrate($type, $value));
118 118
     }
119 119
 }
Please login to merge, or discard this patch.