Skip to content

Commit

Permalink
Merge pull request #6579 from Nek-/patch-1
Browse files Browse the repository at this point in the history
Add string type as possible parameter for between
  • Loading branch information
Ocramius committed Aug 18, 2017
2 parents da109c3 + 03d33ec commit fda7707
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Doctrine/ORM/Query/Expr.php
Expand Up @@ -625,9 +625,9 @@ private function _quoteLiteral($literal)
/**
* Creates an instance of BETWEEN() function, with the given argument.
*
* @param mixed $val Valued to be inspected by range values.
* @param integer $x Starting range value to be used in BETWEEN() function.
* @param integer $y End point value to be used in BETWEEN() function.
* @param mixed $val Valued to be inspected by range values.
* @param integer|string $x Starting range value to be used in BETWEEN() function.
* @param integer|string $y End point value to be used in BETWEEN() function.
*
* @return Expr\Func A BETWEEN expression.
*/
Expand Down

0 comments on commit fda7707

Please sign in to comment.