@@ -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 | } |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | |
| 129 | 129 | /** |
| 130 | 130 | * |
| 131 | - * @param $statement |
|
| 131 | + * @param \PDOStatement $statement |
|
| 132 | 132 | * @return mixed |
| 133 | 133 | */ |
| 134 | 134 | private function fetchRows($statement) |
@@ -141,6 +141,9 @@ discard block |
||
| 141 | 141 | } |
| 142 | 142 | } |
| 143 | 143 | |
| 144 | + /** |
|
| 145 | + * @param string $query |
|
| 146 | + */ |
|
| 144 | 147 | private function prepareQuery($query, $bindData) |
| 145 | 148 | { |
| 146 | 149 | $statement = $this->pdo->prepare($query); |
@@ -347,7 +350,7 @@ discard block |
||
| 347 | 350 | |
| 348 | 351 | /** |
| 349 | 352 | * A wrapper around PDO's lastInsertId() method. |
| 350 | - * @return mixed |
|
| 353 | + * @return string |
|
| 351 | 354 | */ |
| 352 | 355 | public function getLastInsertId() |
| 353 | 356 | { |