Completed
Push — master ( 6460ce...1729d3 )
by James Ekow Abaka
05:20
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/Driver.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,8 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
     /**
116 116
      * 
117
-     * @param boolean $status
118
-     * @param \PDOStatement  $result 
117
+     * @param \PDOStatement $statement
119 118
      */
120 119
     private function fetchRows($statement) {
121 120
         try {
@@ -292,7 +291,7 @@  discard block
 block discarded – undo
292 291
 
293 292
     /**
294 293
      * A wrapper around PDO's lastInsertId() method.
295
-     * @return mixed
294
+     * @return string
296 295
      */
297 296
     public function getLastInsertId() {
298 297
         return $this->pdo->lastInsertId();
Please login to merge, or discard this patch.
src/Descriptor.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,8 @@  discard block
 block discarded – undo
38 38
      * @param string $schema The name of the schema whose tables should be
39 39
      *     describled.
40 40
      * @param array<string> An array contianing names of specific tables 
41
-     *     who's descriptions should be retrieved. 
41
+     *     who's descriptions should be retrieved.
42
+     * @param boolean $includeViews 
42 43
      * @return array<array>  
43 44
      */
44 45
     abstract protected function getTables($schema, $requestedTables, $includeViews);
@@ -339,6 +340,9 @@  discard block
 block discarded – undo
339 340
         }
340 341
     }
341 342
 
343
+    /**
344
+     * @param string $defaultValue
345
+     */
342 346
     protected function cleanDefaultValue($defaultValue) {
343 347
         return $defaultValue;
344 348
     }
Please login to merge, or discard this patch.