Skip to content

Commit ed77fd4

Browse files
committed
Proper type hinting
1 parent 8edae95 commit ed77fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Factory/AbstractFieldsConfigurationFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ private function getTargetEntity(string $fieldName): ?string
338338
*/
339339
protected function getPropertyDefaultValue(string $fieldName)
340340
{
341-
/** @var ReflectionProperty $property */
341+
/** @var null|ReflectionProperty $property */
342342
$property = $this->metadata->getReflectionProperties()[$fieldName] ?? null;
343343
if (!$property) {
344344
return null;

0 commit comments

Comments
 (0)