@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | $this->table = $this->config['table']; |
| 27 | 27 | |
| 28 | - if(!empty($adapter)) |
|
| 28 | + if (!empty($adapter)) |
|
| 29 | 29 | $this->adapter = $adapter; |
| 30 | 30 | else |
| 31 | 31 | $this->adapter = GlobalAdapterFeature::getStaticAdapter(); |
@@ -35,8 +35,8 @@ discard block |
||
| 35 | 35 | |
| 36 | 36 | protected function updateContext() |
| 37 | 37 | { |
| 38 | - if(isset($this->config['schema'])){ |
|
| 39 | - $sql = 'USE ' . $this->config['schema'] . ';'; |
|
| 38 | + if (isset($this->config['schema'])) { |
|
| 39 | + $sql = 'USE '.$this->config['schema'].';'; |
|
| 40 | 40 | $this->adapter->getDriver()->getConnection()->execute($sql); |
| 41 | 41 | } |
| 42 | 42 | } |