Skip to content

Commit

Permalink
Merge pull request #7751 from cnizzardini/patch-6
Browse files Browse the repository at this point in the history
Fix syntax error in code sample
  • Loading branch information
dereuromark authored Oct 18, 2023
2 parents 4fc6aed + 592165e commit 89ee536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/orm/database-basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ used::
$data = $schema->getColumn($column);
$sql = $driver->quoteIdentifier($column);
$sql .= ' JSON';
if (isset($data['null') && $data['null'] === false) {
if (isset($data['null']) && $data['null'] === false) {
$sql .= ' NOT NULL';
}
return $sql;
Expand Down

0 comments on commit 89ee536

Please sign in to comment.