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 a59ae2e5e3
commit 2f520244df

View File

@@ -27,8 +27,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
*/