Completed
Push — develop ( d31c13...2b64e4 )
by
unknown
03:38
created
src/Adapter/DoctrineDBAL.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         if (count($this->getConditions()) !== 0) {
112 112
             foreach ($this->getConditions() as $condition) {
113 113
                 $conditionKey = 'NNXGridCondition_'.$i;
114
-                $query->andWhere($condition->getKey() . ' ' . $condition->getCriteria() . ' :'.$conditionKey);
114
+                $query->andWhere($condition->getKey().' '.$condition->getCriteria().' :'.$conditionKey);
115 115
                 $query->setParameter($conditionKey, $condition->getValue());
116 116
                 $i++;
117 117
             }
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
                 }
139 139
                 $query = clone $query;
140 140
                 $this->setCountQuery($query
141
-                    ->select('COUNT(DISTINCT ' . $this->getRootAlias() . '.id) AS total_results')
141
+                    ->select('COUNT(DISTINCT '.$this->getRootAlias().'.id) AS total_results')
142 142
                     ->resetQueryParts(['groupBy', 'orderBy'])
143 143
                     ->setMaxResults(1)
144 144
                 );
Please login to merge, or discard this patch.