Completed
Push — dev ( 7937c3...19c9e2 )
by James Ekow Abaka
21:26
created
src/descriptors/SqliteDescriptor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@
 block discarded – undo
65 65
         }
66 66
     }
67 67
 
68
+    /**
69
+     * @param string $unique
70
+     */
68 71
     private function getIndexDetails($table, $unique)
69 72
     {
70 73
         $indices = $this->driver->query("pragma index_list({$table['name']})");
Please login to merge, or discard this patch.
src/Descriptor.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -66,6 +66,7 @@  discard block
 block discarded – undo
66 66
      *                       describled.
67 67
      * @param array<string> An array contianing names of specific tables
68 68
      *     who's descriptions should be retrieved.
69
+     * @param boolean $includeViews
69 70
      *
70 71
      * @return array<array>
71 72
      */
@@ -392,6 +393,9 @@  discard block
 block discarded – undo
392 393
         }
393 394
     }
394 395
 
396
+    /**
397
+     * @param string $defaultValue
398
+     */
395 399
     protected function cleanDefaultValue($defaultValue)
396 400
     {
397 401
         return $defaultValue;
Please login to merge, or discard this patch.
src/Driver.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     }
162 162
 
163 163
     /**
164
-     * @param $statement
164
+     * @param \PDOStatement $statement
165 165
      *
166 166
      * @return mixed
167 167
      */
@@ -176,6 +176,9 @@  discard block
 block discarded – undo
176 176
         }
177 177
     }
178 178
 
179
+    /**
180
+     * @param string $query
181
+     */
179 182
     private function prepareQuery($query, $bindData)
180 183
     {
181 184
         $statement = $this->pdo->prepare($query);
@@ -400,7 +403,7 @@  discard block
 block discarded – undo
400 403
     /**
401 404
      * A wrapper around PDO's lastInsertId() method.
402 405
      *
403
-     * @return mixed
406
+     * @return string
404 407
      */
405 408
     public function getLastInsertId()
406 409
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
 
27 27
 namespace ntentan\atiaa;
28 28
 
29
+use Psr\Log\LoggerInterface;
29 30
 use ntentan\atiaa\exceptions\ConnectionException;
30 31
 use ntentan\atiaa\exceptions\DatabaseDriverException;
31
-use Psr\Log\LoggerInterface;
32 32
 
33 33
 /**
34 34
  * A driver class for connecting to a specific database platform.
Please login to merge, or discard this patch.