Skip to content

Commit

Permalink
Fix warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
hschletz committed Mar 23, 2024
1 parent 1b15f42 commit 1d41b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Column/Sqlite.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected function _parseNotNull($data)
/** {@inheritdoc} */
protected function _parseDefault($data)
{
if ($data['dflt_value'] == 'NULL') {
if ($data['dflt_value'] == 'NULL' || $data['dflt_value'] === null) {
$this->_default = null;
} elseif (preg_match("/^'(.*)'$/", $data['dflt_value'], $matches)) {
// Remove surrounding quotes, unescape quotes
Expand Down

0 comments on commit 1d41b37

Please sign in to comment.