From fee63e8b51602df891b1905bcbaca18bd34168b8 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sun, 7 Apr 2024 14:21:57 +0300 Subject: [PATCH] fix UPGRADE.md --- UPGRADE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UPGRADE.md b/UPGRADE.md index c354c6c7b..86bfb450c 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -5,7 +5,7 @@ there is version B between A and C, you need to following the instructions for b ## Upgrade from 1.x to 2.x -* Add `ColumnInterface` support and change type of parameter `$type` from `string` to `ColumnInterface|string` +Add `ColumnInterface` support and change type of parameter `$type` from `string` to `ColumnInterface|string` in `addColumn()` method of your classes that implement the following interfaces: - `Yiisoft\Db\Command\CommandInterface`; @@ -18,4 +18,4 @@ in `addColumn()` method of your classes that implement the following interfaces: - `Yiisoft\Db\QueryBuilder\AbstractQueryBuilder`. `$columns` parameter of `Query::select()` and `Query::addSelect()` methods can also accept scalar values of `bool`, -`float` or `int` types or array with scalar values. For example, `$query->select(1)` will be converted to `SELECT 1`. \ No newline at end of file +`float` or `int` types or array with scalar values. For example, `$query->select(1)` will be converted to `SELECT 1`.