@@ -79,6 +79,9 @@ discard block |
||
79 | 79 | $this->connection = $connection; |
80 | 80 | } |
81 | 81 | |
82 | + /** |
|
83 | + * @param string $dsn |
|
84 | + */ |
|
82 | 85 | protected function getCharset($dsn) |
83 | 86 | { |
84 | 87 | $connectionStringItems = $this->getConnectionStringItems($dsn); |
@@ -132,6 +135,9 @@ discard block |
||
132 | 135 | return $connection; |
133 | 136 | } |
134 | 137 | |
138 | + /** |
|
139 | + * @param string $dsn |
|
140 | + */ |
|
135 | 141 | protected function getConnectionString($dsn) |
136 | 142 | { |
137 | 143 | $connectionStringItems = $this->getConnectionStringItems($dsn); |
@@ -313,7 +319,7 @@ discard block |
||
313 | 319 | |
314 | 320 | /** |
315 | 321 | * @link http://php.net/manual/en/pdo.getavailabledrivers.php |
316 | - * @return array |
|
322 | + * @return string[] |
|
317 | 323 | */ |
318 | 324 | public static function getAvailableDrivers() |
319 | 325 | { |
@@ -33,6 +33,9 @@ discard block |
||
33 | 33 | /** @var \ArrayIterator */ |
34 | 34 | private $iterator; |
35 | 35 | |
36 | + /** |
|
37 | + * @param string $sqlText |
|
38 | + */ |
|
36 | 39 | public function __construct(Oci8ConnectionInterface $connection, $sqlText, $options = array()) |
37 | 40 | { |
38 | 41 | if (!is_string($sqlText)) { |
@@ -483,7 +486,7 @@ discard block |
||
483 | 486 | |
484 | 487 | /** |
485 | 488 | * @link http://php.net/manual/en/pdostatement.nextrowset.php |
486 | - * @return bool |
|
489 | + * @return boolean|null |
|
487 | 490 | */ |
488 | 491 | public function nextRowset() |
489 | 492 | { |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace Jpina\PdoOci8; |
4 | 4 | |
5 | +use Iterator; |
|
5 | 6 | use Jpina\Oci8\Oci8ConnectionInterface; |
6 | 7 | use Jpina\Oci8\Oci8FieldInterface; |
7 | 8 | use Jpina\Oci8\Oci8StatementInterface; |
8 | -use Iterator; |
|
9 | 9 | use Traversable; |
10 | 10 | |
11 | 11 | /** |