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`.