Skip to content
Permalink
Browse files

Remove unnecessary typecast, as this can be fixed by a parameter type…

… hint later
  • Loading branch information...
cleptric committed Jun 20, 2017
1 parent 0a25d74 commit 452172ee5216dce339e93c37925e4de82bec92f2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Database/Schema/SqliteSchema.php
@@ -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]);
}

0 comments on commit 452172e

Please sign in to comment.
You can’t perform that action at this time.