@@ -65,6 +65,9 @@ |
||
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']})"); |
@@ -38,7 +38,8 @@ discard block |
||
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 |
||
339 | 340 | } |
340 | 341 | } |
341 | 342 | |
343 | + /** |
|
344 | + * @param string $defaultValue |
|
345 | + */ |
|
342 | 346 | protected function cleanDefaultValue($defaultValue) { |
343 | 347 | return $defaultValue; |
344 | 348 | } |
@@ -123,8 +123,7 @@ discard block |
||
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 |
||
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 |
||
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(); |