Passed
Branch feature-dbal (b0d62a)
by Thomas
03:17
created
src/EntityFetcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -297,7 +297,7 @@
 block discarded – undo
297 297
         $this->columns = ['t0.*'];
298 298
         $this->modifier = ['DISTINCT'];
299 299
 
300
-        return (int)$this->entityManager->getConnection()->query($query)->fetchColumn();
300
+        return (int) $this->entityManager->getConnection()->query($query)->fetchColumn();
301 301
     }
302 302
 
303 303
     /**
Please login to merge, or discard this patch.
src/Dbal/Pgsql.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $result = $this->em->getConnection()->query($query->getQuery());
63 63
         $rawColumns = $result->fetchAll(PDO::FETCH_ASSOC);
64 64
         if (count($rawColumns) === 0) {
65
-            throw new Exception('Unknown table '  . $schemaTable);
65
+            throw new Exception('Unknown table ' . $schemaTable);
66 66
         }
67 67
 
68 68
         $cols = [];
Please login to merge, or discard this patch.
src/Dbal/Sqlite.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $rawColumns = $result->fetchAll(\PDO::FETCH_ASSOC);
58 58
 
59 59
         if (count($rawColumns) === 0) {
60
-            throw new Exception('Unknown table '  . $table);
60
+            throw new Exception('Unknown table ' . $table);
61 61
         }
62 62
 
63 63
         $cols = [];
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                 $hasDefault = true;
74 74
             }
75 75
 
76
-            $cols[]     = new Column(
76
+            $cols[] = new Column(
77 77
                 $rawColumn['name'],
78 78
                 new $class,
79 79
                 $hasDefault,
Please login to merge, or discard this patch.