From 45d39dd50d3434656c09a28a7817308a057047f6 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Tue, 24 Mar 2015 00:36:13 +0000 Subject: [PATCH] Making `preserveSqlOrdering` API `private` --- .../ORM/Tools/Pagination/LimitSubqueryOutputWalker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php b/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php index 8ff3630a5..fb2354a49 100644 --- a/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php +++ b/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php @@ -289,11 +289,11 @@ class LimitSubqueryOutputWalker extends SqlWalker * * @return string */ - public function preserveSqlOrdering(array $sqlIdentifier, $innerSql, $sql, $orderByClause) + private function preserveSqlOrdering(array $sqlIdentifier, $innerSql, $sql, $orderByClause) { // If the sql statement has an order by clause, we need to wrap it in a new select distinct // statement - if (!$orderByClause instanceof OrderByClause) { + if (! $orderByClause instanceof OrderByClause) { return $sql; }