@@ -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 = []; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | |
23 | 23 | public function connect($server = null, $username = null, $password = null, $newLink = false, $clientFlags = 0) |
24 | 24 | { |
25 | - if ($server === null) $server = ini_get("mysql.default_host"); |
|
25 | + if ($server === null) $server = ini_get("mysql.default_host"); |
|
26 | 26 | if ($username === null) $username = ini_get("mysql.default_user"); |
27 | 27 | if ($password === null) $password = ini_get("mysql.default_password"); |
28 | 28 |
@@ -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); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | |
16 | 16 | $escaped = $connection->quote($unescapedString); |
17 | 17 | // Hack! |
18 | - if ($escaped[0] === "'" && $escaped[strlen($escaped)-1] === "'") { |
|
18 | + if ($escaped[0] === "'" && $escaped[strlen($escaped) - 1] === "'") { |
|
19 | 19 | return substr($escaped, 1, -1); |
20 | 20 | } |
21 | 21 |