Skip to content

Commit

Permalink
fix(db): Doctrine\DBAL\Query\Expression\ExpressionBuilder::andX() a…
Browse files Browse the repository at this point in the history
…nd `::orX()` were removed

Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Jul 1, 2024
1 parent faa309b commit 3b4d652
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function __construct(ConnectionAdapter $connection, IQueryBuilder $queryB
* @return \OCP\DB\QueryBuilder\ICompositeExpression
*/
public function andX(...$x): ICompositeExpression {
$compositeExpression = call_user_func_array([$this->expressionBuilder, 'andX'], $x);
$compositeExpression = call_user_func_array([$this->expressionBuilder, 'and'], $x);
return new CompositeExpression($compositeExpression);
}

Expand All @@ -82,7 +82,7 @@ public function andX(...$x): ICompositeExpression {
* @return \OCP\DB\QueryBuilder\ICompositeExpression
*/
public function orX(...$x): ICompositeExpression {
$compositeExpression = call_user_func_array([$this->expressionBuilder, 'orX'], $x);
$compositeExpression = call_user_func_array([$this->expressionBuilder, 'or'], $x);
return new CompositeExpression($compositeExpression);
}

Expand Down

0 comments on commit 3b4d652

Please sign in to comment.