Code Duplication    Length = 3-3 lines in 2 locations

source/Spiral/Database/Drivers/SQLite/Schemas/ColumnSchema.php 1 location

@@ 133-135 (lines=3) @@
130
131
        $this->defaultValue = $schema['dflt_value'];
132
133
        if (preg_match('/^[\'""].*?[\'"]$/', $this->defaultValue)) {
134
            $this->defaultValue = substr($this->defaultValue, 1, -1);
135
        }
136
137
        if (
138
        !preg_match('/^(?P<type>[a-z]+) *(?:\((?P<options>[^\)]+)\))?/', $this->type, $matches)

source/Spiral/Database/Drivers/SQLServer/Schemas/ColumnSchema.php 1 location

@@ 394-396 (lines=3) @@
391
            $this->defaultValue = substr($this->defaultValue, 1, -1);
392
        }
393
394
        if (preg_match('/^[\'""].*?[\'"]$/', $this->defaultValue)) {
395
            $this->defaultValue = substr($this->defaultValue, 1, -1);
396
        }
397
398
        if (
399
            $this->phpType() != 'string'