1
0
mirror of synced 2025-02-09 00:39:25 +03:00

Query\Expr::andX(): added string as allowed parameter type

This commit is contained in:
sserbin 2018-08-28 14:41:52 +03:00 committed by Michael Moravec
parent 899cce8094
commit 3dbe205498
No known key found for this signature in database
GPG Key ID: 946F139F96C1C1B5

View File

@ -41,8 +41,8 @@ class Expr
* // (u.type = ?1) AND (u.role = ?2)
* $expr->andX($expr->eq('u.type', ':1'), $expr->eq('u.role', ':2'));
*
* @param Expr\Comparison|Expr\Func|Expr\Orx $x Optional clause. Defaults to null, but requires at least one
* defined when converting to string.
* @param Expr\Comparison|Expr\Func|Expr\Orx|string $x Optional clause. Defaults to null, but requires at least one
* defined when converting to string.
*
* @return Expr\Andx
*/