Completed
Push — master ( d7738d...f56b67 )
by James Ekow Abaka
01:52
created
src/Driver.php 2 patches
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 
129 129
     /**
130 130
      *
131
-     * @param $statement
131
+     * @param \PDOStatement $statement
132 132
      * @return mixed
133 133
      */
134 134
     private function fetchRows($statement)
@@ -141,6 +141,9 @@  discard block
 block discarded – undo
141 141
         }
142 142
     }
143 143
 
144
+    /**
145
+     * @param string $query
146
+     */
144 147
     private function prepareQuery($query, $bindData)
145 148
     {
146 149
         $statement = $this->pdo->prepare($query);
@@ -170,7 +173,7 @@  discard block
 block discarded – undo
170 173
      * @todo Add a parameter to cache prepared statements so they can be reused easily.
171 174
      *
172 175
      * @param string $query The query to be executed quoted in PDO style
173
-     * @param array $bindData
176
+     * @param boolean $bindData
174 177
      * @return array <mixed>
175 178
      * @throws DatabaseDriverException
176 179
      * @internal param $ false|array<mixed> $bindData The data to be bound to the query object.
@@ -347,7 +350,7 @@  discard block
 block discarded – undo
347 350
 
348 351
     /**
349 352
      * A wrapper around PDO's lastInsertId() method.
350
-     * @return mixed
353
+     * @return string
351 354
      */
352 355
     public function getLastInsertId()
353 356
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace ntentan\atiaa;
4 4
 
5
-use ntentan\atiaa\exceptions\DatabaseDriverException;
6
-use ntentan\atiaa\exceptions\ConnectionException;
7 5
 use Psr\Log\LoggerInterface;
6
+use ntentan\atiaa\exceptions\ConnectionException;
7
+use ntentan\atiaa\exceptions\DatabaseDriverException;
8 8
 
9 9
 /**
10 10
  * A driver class for connecting to a specific database platform.
Please login to merge, or discard this patch.