1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Making preserveSqlOrdering API private

This commit is contained in:
Marco Pivetta 2015-03-24 00:36:13 +00:00
parent 6dfff304f3
commit 45d39dd50d

View File

@ -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;
}