Completed
Branch dev-0.1.x (cbb4c7)
by Josué
06:10
created
src/PdoOci8.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/PdoOci8Statement.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.