Skip to content

Commit 83b4b0b

Browse files
authored
Merge pull request #17 from Vincz/patch-1
Add missing nullable check
2 parents ed52e62 + a7f4c2b commit 83b4b0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Common/TsVectorSubscriber.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public function loadClassMetadata(LoadClassMetadataEventArgs $eventArgs)
8888
'type' => 'tsvector',
8989
'weight' => strtoupper($annotation->weight),
9090
'language' => strtolower($annotation->language),
91+
'nullable' => $this->isWatchFieldNullable($class, $annotation)
9192
]);
9293
}
9394
}

0 commit comments

Comments
 (0)