Passed
Pull Request — master (#224)
by David
04:03
created
src/QueryFactory/FindObjectsFromRawSqlQueryFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
                 $alias = AbstractQueryFactory::getColumnAlias($tableName, $columnName);
216 216
                 $astColumn = [
217 217
                     'expr_type' => 'colref',
218
-                    'base_expr' => $connection->quoteIdentifier($tableName) . '.' . $connection->quoteIdentifier($columnName),
218
+                    'base_expr' => $connection->quoteIdentifier($tableName).'.'.$connection->quoteIdentifier($columnName),
219 219
                     'no_quotes' => [
220 220
                         'delim' => '.',
221 221
                         'parts' => [
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
                 return $this->generateWrappedSqlCount($parsedSql);
304 304
             }
305 305
 
306
-            $countSubExpr = array_map(function (array $item) {
306
+            $countSubExpr = array_map(function(array $item) {
307 307
                 unset($item['alias']);
308 308
                 return $item;
309 309
             }, $parsedSql['SELECT']);
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
                 $item['delim'] = ',';
381 381
                 $innerColumns[] = $item;
382 382
             }
383
-            $innerColumns[count($innerColumns)-1]['delim'] = false;
383
+            $innerColumns[count($innerColumns) - 1]['delim'] = false;
384 384
             $parsedSql['SELECT'] = $innerColumns;
385 385
 
386 386
             $parsedSql = [
Please login to merge, or discard this patch.