Completed
Push — master ( 61cf5c...569c78 )
by James Ekow Abaka
01:48
created
src/DbContext.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace ntentan\atiaa;
4 4
 
5
-use ntentan\panie\Container;
6
-use ntentan\utils\Text;
7
-
8 5
 /**
9 6
  * Holds the a database connection instance.
10 7
  */
Please login to merge, or discard this patch.
src/Driver.php 1 patch
Doc Comments   +5 added lines, -2 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);
@@ -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.