@@ -39,7 +39,8 @@ discard block |
||
| 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 |
||
| 372 | 373 | } |
| 373 | 374 | } |
| 374 | 375 | |
| 376 | + /** |
|
| 377 | + * @param string $defaultValue |
|
| 378 | + */ |
|
| 375 | 379 | protected function cleanDefaultValue($defaultValue) |
| 376 | 380 | { |
| 377 | 381 | return $defaultValue; |
@@ -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']})"); |
@@ -116,8 +116,7 @@ discard block |
||
| 116 | 116 | |
| 117 | 117 | /** |
| 118 | 118 | * |
| 119 | - * @param boolean $status |
|
| 120 | - * @param \PDOStatement $result |
|
| 119 | + * @param \PDOStatement $statement |
|
| 121 | 120 | */ |
| 122 | 121 | private function fetchRows($statement) |
| 123 | 122 | { |
@@ -176,7 +175,7 @@ discard block |
||
| 176 | 175 | * Expands the configuration array into a format that can easily be passed |
| 177 | 176 | * to PDO. |
| 178 | 177 | * |
| 179 | - * @param array $params The query parameters |
|
| 178 | + * @param string[] $params The query parameters |
|
| 180 | 179 | * @return string |
| 181 | 180 | */ |
| 182 | 181 | private function expand($params) |
@@ -306,7 +305,7 @@ discard block |
||
| 306 | 305 | |
| 307 | 306 | /** |
| 308 | 307 | * A wrapper around PDO's lastInsertId() method. |
| 309 | - * @return mixed |
|
| 308 | + * @return string |
|
| 310 | 309 | */ |
| 311 | 310 | public function getLastInsertId() |
| 312 | 311 | { |
@@ -369,6 +368,9 @@ discard block |
||
| 369 | 368 | } |
| 370 | 369 | } |
| 371 | 370 | |
| 371 | + /** |
|
| 372 | + * @param boolean $cleanDefaults |
|
| 373 | + */ |
|
| 372 | 374 | public function setCleanDefaults($cleanDefaults) |
| 373 | 375 | { |
| 374 | 376 | $this->getDescriptor()->setCleanDefaults($cleanDefaults); |