@@ -139,7 +139,7 @@ discard block |
||
| 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 |
||
| 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 | } |