Completed
Push — master ( 59cd4c...8588a0 )
by Dimas
10:00
created
src/DB/pdo.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
    *
140 140
    * @return $this
141 141
    */
142
-  public function switch(string $dbname)
142
+  public function switch (string $dbname)
143 143
   {
144 144
     $this->query('USE ' . $dbname)->exec();
145 145
 
@@ -724,7 +724,7 @@  discard block
 block discarded – undo
724 724
     $this->query = '';
725 725
     if ($filter) {
726 726
       if (!empty($exec) && is_array($exec)) {
727
-        $filtered = array_map(function ($data) use ($filter) {
727
+        $filtered = array_map(function($data) use ($filter) {
728 728
           if (isset($data[$filter])) {
729 729
             return $data[$filter];
730 730
           }
Please login to merge, or discard this patch.