1
0
mirror of synced 2025-03-05 20:36:15 +03:00

Adding change to appease scrutinizer

This commit is contained in:
Michael Gwynne 2017-09-04 10:11:43 +01:00
parent fd9f96c766
commit d0d1e557d1

View File

@ -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.