Completed
Push — master ( 5379df...f3c734 )
by Rougin
01:28
created
src/Driver/MySQLDriver.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@  discard block
 block discarded – undo
17 17
  */
18 18
 class MySQLDriver implements DriverInterface
19 19
 {
20
-    const FOREIGN_QUERY = 'SELECT COLUMN_NAME as "column", REFERENCED_COLUMN_NAME as "referenced_column",' .
21
-        'CONCAT(REFERENCED_TABLE_SCHEMA, ".", REFERENCED_TABLE_NAME) as "referenced_table"' .
22
-        'FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE ' .
20
+    const FOREIGN_QUERY = 'SELECT COLUMN_NAME as "column", REFERENCED_COLUMN_NAME as "referenced_column",'.
21
+        'CONCAT(REFERENCED_TABLE_SCHEMA, ".", REFERENCED_TABLE_NAME) as "referenced_table"'.
22
+        'FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE '.
23 23
         'WHERE CONSTRAINT_SCHEMA = "%s" AND TABLE_NAME = "%s";';
24 24
 
25 25
     /**
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function columns($table)
57 57
     {
58
-        return $this->query($table, 'DESCRIBE ' . $table);
58
+        return $this->query($table, 'DESCRIBE '.$table);
59 59
     }
60 60
 
61 61
     /**
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
         }
253 253
 
254 254
         if (empty($columns) === true) {
255
-            $message = 'Table "' . $table . '" does not exists!';
255
+            $message = 'Table "'.$table.'" does not exists!';
256 256
 
257 257
             throw new TableNotFoundException($message);
258 258
         }
Please login to merge, or discard this patch.