@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | } |
22 | 22 | self::$information_schema['tables'][$currentISchemaTables]['Model'] = $ModelOfTable; |
23 | 23 | self::$information_schema['tables'][$currentISchemaTables]['TABLE_NAME'] = $ModelOfTable::getTableName(); |
24 | - self::$information_schema['tables'][$currentISchemaTables]['TABLE_SCHEMA'] = \Config::get('database.connections.'.\Config::get('database.default').'.database'); |
|
24 | + self::$information_schema['tables'][$currentISchemaTables]['TABLE_SCHEMA'] = \Config::get('database.connections.' . \Config::get('database.default') . '.database'); |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | protected $normalizer; |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | $pos = strpos($sql, $needle); |
66 | 66 | if ($pos !== false) { |
67 | 67 | if (gettype($replace) === 'string') { |
68 | - $replace = ' "'.addslashes($replace).'" '; |
|
68 | + $replace = ' "' . addslashes($replace) . '" '; |
|
69 | 69 | } |
70 | 70 | $sql = substr_replace($sql, $replace, $pos, strlen($needle)); |
71 | 71 | } |