Skip to content

Commit

Permalink
Fixed psalm errors
Browse files Browse the repository at this point in the history
  • Loading branch information
othercorey committed Nov 21, 2019
1 parent 6c95f56 commit df0708f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Schema/SqlserverSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ protected function _defaultValue($type, $default)
}

// Remove quotes
if (is_string($default) && preg_match("/^\(?N?'(.*)'\)?/", $default, $matches)) {
if (preg_match("/^\(?N?'(.*)'\)?/", $default, $matches)) {
return str_replace("''", "'", $matches[1]);
}

Expand Down

0 comments on commit df0708f

Please sign in to comment.