@@ -549,6 +549,9 @@ |
||
| 549 | 549 | |
| 550 | 550 | } |
| 551 | 551 | |
| 552 | + /** |
|
| 553 | + * @param AbstractDatabaseManipulator $manipulator |
|
| 554 | + */ |
|
| 552 | 555 | public static function wrap($description, $manipulator) |
| 553 | 556 | { |
| 554 | 557 | return new SchemaDescription($description, $manipulator); |
@@ -50,6 +50,9 @@ |
||
| 50 | 50 | private $currentPath; |
| 51 | 51 | |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param string $filter |
|
| 55 | + */ |
|
| 53 | 56 | public function setupOptions($options, &$filter) |
| 54 | 57 | { |
| 55 | 58 | if (isset($options['no-foreign-keys'])) { |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | /** |
| 95 | 95 | * Generate the query for a foreign key constraint. |
| 96 | 96 | * |
| 97 | - * @param array<array> $constraintDetails |
|
| 97 | + * @param array<array> $constraints |
|
| 98 | 98 | * @return string |
| 99 | 99 | */ |
| 100 | 100 | private function getFKConstraintQuery($constraints, $options) |
@@ -363,6 +363,9 @@ discard block |
||
| 363 | 363 | $this->query("DROP VIEW `{$details['name']}`"); |
| 364 | 364 | } |
| 365 | 365 | |
| 366 | + /** |
|
| 367 | + * @param string $direction |
|
| 368 | + */ |
|
| 366 | 369 | public function convertTypes($type, $direction, $length) |
| 367 | 370 | { |
| 368 | 371 | $destinationType = null; |