Skip to content

Commit

Permalink
Remove unnecessary typecast, as this can be fixed by a parameter type…
Browse files Browse the repository at this point in the history
… hint later
  • Loading branch information
Michael Hoffmann committed Jun 20, 2017
1 parent 0a25d74 commit 452172e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Schema/SqliteSchema.php
Expand Up @@ -177,7 +177,7 @@ protected function _defaultValue($default)
}

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

Expand Down

0 comments on commit 452172e

Please sign in to comment.