Skip to content

Commit 090e217

Browse files
committed
PHPCS fix relative to #2210
1 parent 63a7200 commit 090e217

File tree

1 file changed

+1
-1
lines changed
  • lib/Varien/Data/Collection

1 file changed

+1
-1
lines changed

lib/Varien/Data/Collection/Db.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function getSelectCountSql()
241241
$countSelect->columns('COUNT(*)');
242242

243243
// Simple optimization - remove all joins if there are no where clauses using joined tables and all joins are left joins
244-
$leftJoins = array_filter($countSelect->getPart(Zend_Db_Select::FROM), function($table) {
244+
$leftJoins = array_filter($countSelect->getPart(Zend_Db_Select::FROM), function ($table) {
245245
return ($table['joinType'] == Zend_Db_Select::LEFT_JOIN || $table['joinType'] == Zend_Db_Select::FROM);
246246
});
247247
if (count($leftJoins) == count($countSelect->getPart(Zend_Db_Select::FROM))) {

0 commit comments

Comments
 (0)