Completed
Push — master ( e8f4cf...5c9c14 )
by James Ekow Abaka
05:22
created
src/Descriptor.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,8 @@  discard block
 block discarded – undo
39 39
      * @param string $schema The name of the schema whose tables should be
40 40
      *     describled.
41 41
      * @param array<string> An array contianing names of specific tables 
42
-     *     who's descriptions should be retrieved. 
42
+     *     who's descriptions should be retrieved.
43
+     * @param boolean $includeViews 
43 44
      * @return array<array>  
44 45
      */
45 46
     abstract protected function getTables($schema, $requestedTables, $includeViews);
@@ -372,6 +373,9 @@  discard block
 block discarded – undo
372 373
         }
373 374
     }   
374 375
     
376
+    /**
377
+     * @param string $defaultValue
378
+     */
375 379
     protected function cleanDefaultValue($defaultValue)
376 380
     {
377 381
         return $defaultValue;
Please login to merge, or discard this patch.
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/Driver.php 2 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,8 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
     /**
127 127
      * 
128
-     * @param boolean $status
129
-     * @param \PDOStatement  $result 
128
+     * @param \PDOStatement $statement
130 129
      */
131 130
     private function fetchRows($statement)
132 131
     {
@@ -315,7 +314,7 @@  discard block
 block discarded – undo
315 314
 
316 315
     /**
317 316
      * A wrapper around PDO's lastInsertId() method.
318
-     * @return mixed
317
+     * @return string
319 318
      */
320 319
     public function getLastInsertId()
321 320
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace ntentan\atiaa;
4 4
 
5
-use ntentan\config\Config;
6 5
 use ntentan\atiaa\exceptions\DatabaseDriverException;
6
+use ntentan\config\Config;
7 7
 
8 8
 /**
9 9
  * A driver class for connecting to a specific database platform.
Please login to merge, or discard this patch.