Completed
Push — master ( d7738d...f56b67 )
by James Ekow Abaka
01:52
created
src/Driver.php 1 patch
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.