From 452172ee5216dce339e93c37925e4de82bec92f2 Mon Sep 17 00:00:00 2001 From: Michael Hoffmann Date: Wed, 21 Jun 2017 00:33:25 +0200 Subject: [PATCH] Remove unnecessary typecast, as this can be fixed by a parameter type hint later --- src/Database/Schema/SqliteSchema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Schema/SqliteSchema.php b/src/Database/Schema/SqliteSchema.php index 838547112c3..cc04b4f62c7 100644 --- a/src/Database/Schema/SqliteSchema.php +++ b/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]); }