Skip to content

Commit 1dc94cb

Browse files
authored
Merge pull request #7983 from dmromanov/patch-4
Fix php snippet
2 parents 11d1b63 + 9abc534 commit 1dc94cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/orm/database-basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ used::
649649
$data = $schema->getColumn($column);
650650
$sql = $driver->quoteIdentifier($column);
651651
$sql .= ' JSON';
652-
if (isset($data['null') && $data['null'] === false) {
652+
if (isset($data['null']) && $data['null'] === false) {
653653
$sql .= ' NOT NULL';
654654
}
655655

0 commit comments

Comments
 (0)