Support DateTime instances #1185
Annotations
1 warning
PHP 8-ubuntu-latest:
src/QueryBuilder.php#L60
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function getColumnType(ColumnInterface|string $type) : string
{
if ($type instanceof ColumnInterface && $type->getType() === SchemaInterface::TYPE_JSON) {
- $type->check('[[{name}]] is null or json_valid([[{name}]])');
+
$type = SchemaInterface::TYPE_JSON;
}
return parent::getColumnType($type);
}
}
|