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);
|
$fromRoot = reset($from);
|
||||||
|
|
||||||
if ($query instanceof Query
|
if ($query instanceof Query
|
||||||
&& $query->getMaxResults()
|
&& null !== $query->getMaxResults()
|
||||||
&& $AST->orderByClause
|
&& $AST->orderByClause
|
||||||
&& count($fromRoot->joins)) {
|
&& count($fromRoot->joins)) {
|
||||||
// Check each orderby item.
|
// Check each orderby item.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user