Skip to content

Commit

Permalink
Fix syntax error in code sample
Browse files Browse the repository at this point in the history
Sample is missing closing bracket.
  • Loading branch information
cnizzardini authored Oct 18, 2023
1 parent 5755038 commit 592165e
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 592165e

Please sign in to comment.