Skip to content

Commit de3232a

Browse files
committed
Fix
1 parent f2ecf02 commit de3232a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Rules/Doctrine/ORM/EntityRelationRule.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public function processNode(Node $node, Scope $scope): array
102102
if (in_array($propertyName, $identifiers, true)) {
103103
$nullable = false;
104104
} else {
105+
/** @var bool $nullable */
105106
$nullable = $associationMapping['joinColumns'][0]['nullable'] ?? true;
106107
}
107108
if ($nullable) {

0 commit comments

Comments
 (0)