Skip to content

Commit bb53725

Browse files
committed
Treat uninitialized property as null
1 parent 3576a4e commit bb53725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helper/ObjectParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public function getPropertyValue(string $property): mixed
288288
return null;
289289
}
290290

291-
return $reflectionProperty?->getValue($this->source);
291+
return $reflectionProperty->getValue($this->source);
292292
}
293293

294294
/**

0 commit comments

Comments
 (0)