Completed
Push — master ( 6dc45d...7967ba )
by James Ekow Abaka
02:43 queued 01:14
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   +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.
src/Driver.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -123,8 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
     /**
125 125
      * 
126
-     * @param boolean $status
127
-     * @param \PDOStatement  $result 
126
+     * @param \PDOStatement $statement
128 127
      */
129 128
     private function fetchRows($statement) {
130 129
         try {
@@ -135,6 +134,9 @@  discard block
 block discarded – undo
135 134
         }
136 135
     }
137 136
     
137
+    /**
138
+     * @param string $query
139
+     */
138 140
     private function prepareQuery($query, $bindData) {
139 141
         $statement = $this->pdo->prepare($query);
140 142
         foreach($bindData as $key => $value) {
@@ -323,7 +325,7 @@  discard block
 block discarded – undo
323 325
 
324 326
     /**
325 327
      * A wrapper around PDO's lastInsertId() method.
326
-     * @return mixed
328
+     * @return string
327 329
      */
328 330
     public function getLastInsertId() {
329 331
         return $this->pdo->lastInsertId();
Please login to merge, or discard this patch.