@@ -46,7 +46,7 @@ |
||
| 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 | /** |
@@ -113,7 +113,7 @@ |
||
| 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 | } |