[DDC-792] Fixed issue with run-dql when using max result was triggering undefined method error.
This commit is contained in:
parent
4845745337
commit
2e3c1506fb
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ EOT
|
|||
throw new \LogicException("Option 'max-result' must contains an integer value");
|
||||
}
|
||||
|
||||
$query->setMaxResult((int) $maxResult);
|
||||
$query->setMaxResults((int) $maxResult);
|
||||
}
|
||||
|
||||
$resultSet = $query->execute(array(), constant($hydrationMode));
|
||||
|
|
Loading…
Add table
Reference in a new issue