Skip to content

Commit

Permalink
Merge pull request #7983 from dmromanov/patch-4
Browse files Browse the repository at this point in the history
Fix php snippet
  • Loading branch information
dereuromark authored Jan 20, 2025
2 parents 11d1b63 + 9abc534 commit 1dc94cb
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 @@ -649,7 +649,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';
}

Expand Down

0 comments on commit 1dc94cb

Please sign in to comment.