From f7ecbcbaa1a796abb4f85eb15ec6b98c959fac52 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Mon, 6 May 2024 18:44:28 +0700 Subject: [PATCH] Remove AbstractDMLQueryBuilder::getTypecastValue() method --- src/QueryBuilder/AbstractDMLQueryBuilder.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/QueryBuilder/AbstractDMLQueryBuilder.php b/src/QueryBuilder/AbstractDMLQueryBuilder.php index c877b8650..0817b46e4 100644 --- a/src/QueryBuilder/AbstractDMLQueryBuilder.php +++ b/src/QueryBuilder/AbstractDMLQueryBuilder.php @@ -511,20 +511,6 @@ static function (Constraint $constraint) use ($quoter, $columns, &$columnNames): return array_unique($columnNames); } - /** - * @return mixed The typecast value of the given column. - * - * @deprecated will be removed in version 2.0.0 - */ - protected function getTypecastValue(mixed $value, ColumnSchemaInterface $columnSchema = null): mixed - { - if ($columnSchema) { - return $columnSchema->dbTypecast($value); - } - - return $value; - } - /** * Normalizes the column names. *