Adding change to appease scrutinizer
This commit is contained in:
parent
fd9f96c766
commit
d0d1e557d1
@ -136,7 +136,7 @@ class LimitSubqueryWalker extends TreeWalkerAdapter
|
||||
$fromRoot = reset($from);
|
||||
|
||||
if ($query instanceof Query
|
||||
&& $query->getMaxResults()
|
||||
&& null !== $query->getMaxResults()
|
||||
&& $AST->orderByClause
|
||||
&& count($fromRoot->joins)) {
|
||||
// Check each orderby item.
|
||||
|
Loading…
x
Reference in New Issue
Block a user