Test Failed
Push — master ( 7f877f...ed9827 )
by
unknown
01:51
created
src/Silk/Database/TableGateway.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
         $this->table = $this->config['table'];
28 28
        
29
-        if(!isset($this->config['adapter']))
29
+        if (!isset($this->config['adapter']))
30 30
             $this->config['adapter'] = 'Default';
31 31
         
32 32
         $adapterPool = new AdapterPool();
@@ -39,13 +39,13 @@  discard block
 block discarded – undo
39 39
     {
40 40
         $platform = $this->adapter->getPlatform()->getName();
41 41
         
42
-        if(isset($this->config['schema']) && $platform == 'MySQL'){
43
-            $sql = 'USE ' . $this->config['schema'] . ';';
42
+        if (isset($this->config['schema']) && $platform == 'MySQL') {
43
+            $sql = 'USE '.$this->config['schema'].';';
44 44
             $this->adapter->getDriver()->getConnection()->execute($sql);
45 45
         }
46 46
         
47
-        if(isset($this->config['schema']) && $platform == 'PostgreSQL'){
48
-            $sql = 'SET SCHEMA \'' . $this->config['schema'] . '\';';
47
+        if (isset($this->config['schema']) && $platform == 'PostgreSQL') {
48
+            $sql = 'SET SCHEMA \''.$this->config['schema'].'\';';
49 49
             $this->adapter->getDriver()->getConnection()->execute($sql);
50 50
         }
51 51
     }
Please login to merge, or discard this patch.