Passed
Pull Request — v1 (#21)
by
unknown
06:11
created
src/db/Schema.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function getTableNames($schema = '', $refresh = false)
29 29
     {
30
-      return parent::getTableNames($schema, $refresh);
30
+        return parent::getTableNames($schema, $refresh);
31 31
     }
32 32
 
33 33
     /**
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function quoteSimpleTableName($name = '')
37 37
     {
38
-      return parent::quoteSimpleTableName($name);
38
+        return parent::quoteSimpleTableName($name);
39 39
     }
40 40
 
41 41
     /**
@@ -50,11 +50,11 @@  discard block
 block discarded – undo
50 50
      * @inheritdoc
51 51
      */
52 52
     public function findTableNames($schema = '') {
53
-      $sql = 'SHOW TABLES';
54
-      if ($schema !== '') {
55
-          $sql .= ' FROM ' . $this->quoteSimpleTableName($schema);
56
-      }
53
+        $sql = 'SHOW TABLES';
54
+        if ($schema !== '') {
55
+            $sql .= ' FROM ' . $this->quoteSimpleTableName($schema);
56
+        }
57 57
 
58
-      return $this->db->createCommand($sql)->queryColumn();
58
+        return $this->db->createCommand($sql)->queryColumn();
59 59
     }
60 60
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     public function findTableNames($schema = '') {
53 53
       $sql = 'SHOW TABLES';
54 54
       if ($schema !== '') {
55
-          $sql .= ' FROM ' . $this->quoteSimpleTableName($schema);
55
+          $sql .= ' FROM '.$this->quoteSimpleTableName($schema);
56 56
       }
57 57
 
58 58
       return $this->db->createCommand($sql)->queryColumn();
Please login to merge, or discard this patch.