Skip to content

Commit e3afb13

Browse files
authored
Adapt to specific condition interfaces removing in yiisoft/db package (#424)
1 parent 9786e69 commit e3afb13

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
- Chg #414: Rename `DMLQueryBuilder::insertWithReturningPks()` to `DMLQueryBuilder::insertReturningPks()` (@Tigrov)
4848
- Enh #415: Implement `CaseExpressionBuilder` class (@Tigrov)
4949
- Enh #420: Provide `yiisoft/db-implementation` virtual package (@vjik)
50+
- Enh #424: Adapt to specific condition interfaces removing in `yiisoft/db` package (@vjik)
5051

5152
## 1.3.0 March 21, 2024
5253

src/Builder/LikeConditionBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
namespace Yiisoft\Db\Pgsql\Builder;
66

7-
use Yiisoft\Db\QueryBuilder\Condition\Interface\LikeConditionInterface;
7+
use Yiisoft\Db\QueryBuilder\Condition\LikeCondition;
88

99
/**
10-
* Build an object of {@see LikeConditionInterface} into SQL expressions for PostgreSQL Server.
10+
* Build an object of {@see LikeCondition} into SQL expressions for PostgreSQL Server.
1111
*/
1212
final class LikeConditionBuilder extends \Yiisoft\Db\QueryBuilder\Condition\Builder\LikeConditionBuilder
1313
{
14-
protected function parseOperator(LikeConditionInterface $expression): array
14+
protected function parseOperator(LikeCondition $expression): array
1515
{
1616
[$andor, $not, $operator] = parent::parseOperator($expression);
1717

0 commit comments

Comments
 (0)