1
0
mirror of synced 2025-02-02 13:31:45 +03:00

Fix for HHVM

This commit is contained in:
Benjamin Nolan 2014-09-22 20:00:15 +01:00
parent 406e177062
commit dbbe7a4be5

View File

@ -894,8 +894,8 @@ class QueryBuilder
*/
public function andWhere($where)
{
$where = $this->getDQLPart('where');
$args = func_get_args();
$where = $this->getDQLPart('where');
if ($where instanceof Expr\Andx) {
$where->addMultiple($args);
@ -927,8 +927,8 @@ class QueryBuilder
*/
public function orWhere($where)
{
$where = $this->getDqlPart('where');
$args = func_get_args();
$where = $this->getDqlPart('where');
if ($where instanceof Expr\Orx) {
$where->addMultiple($args);
@ -1007,8 +1007,8 @@ class QueryBuilder
*/
public function andHaving($having)
{
$having = $this->getDqlPart('having');
$args = func_get_args();
$having = $this->getDqlPart('having');
if ($having instanceof Expr\Andx) {
$having->addMultiple($args);
@ -1030,8 +1030,8 @@ class QueryBuilder
*/
public function orHaving($having)
{
$having = $this->getDqlPart('having');
$args = func_get_args();
$having = $this->getDqlPart('having');
if ($having instanceof Expr\Orx) {
$having->addMultiple($args);