@@ -173,7 +173,7 @@ |
||
| 173 | 173 | |
| 174 | 174 | public function setLastConnection($id) |
| 175 | 175 | { |
| 176 | - uksort($this->connections, function ($a, $b) use ($id) { |
|
| 176 | + uksort($this->connections, function($a, $b) use ($id) { |
|
| 177 | 177 | if ($a === $id) return 1; |
| 178 | 178 | if ($b === $id) return -1; |
| 179 | 179 | return 0; |
@@ -31,6 +31,9 @@ |
||
| 31 | 31 | return $this->manager->connect("mysql:host={$server};", $username, $password, $options, $newLink); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param integer $clientFlags |
|
| 36 | + */ |
|
| 34 | 37 | protected function parseClientFlags($clientFlags) |
| 35 | 38 | { |
| 36 | 39 | $options = []; |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | public function connect($server = null, $username = null, $password = null, $newLink = false, $clientFlags = 0) |
| 25 | 25 | { |
| 26 | - if ($server === null) { |
|
| 26 | + if ($server === null) { |
|
| 27 | 27 | $server = ini_get('mysql.default_host'); |
| 28 | 28 | } |
| 29 | 29 | if ($username === null) { |
@@ -93,6 +93,9 @@ |
||
| 93 | 93 | $this->cursor = $rowNumber; |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | + /** |
|
| 97 | + * @param integer $columnNumber |
|
| 98 | + */ |
|
| 96 | 99 | public function getColumnMeta($columnNumber) |
| 97 | 100 | { |
| 98 | 101 | return $this->statement->getColumnMeta($columnNumber); |