1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Fix multiline parameter phpDoc in Query\Expr

See https://github.com/phan/phan/issues/1897 (parser won't accept `@param` spanning over several lines)
This commit is contained in:
philippe-unitiz 2018-08-21 15:20:11 +02:00 committed by Michael Moravec
parent 32efbd3edd
commit cb9ec8234b
No known key found for this signature in database
GPG Key ID: 946F139F96C1C1B5

View File

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