@@ -43,6 +43,7 @@ |
||
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * @param string[] $files |
| 46 | + * @param string|null $namespace |
|
| 46 | 47 | * |
| 47 | 48 | * @return string[] |
| 48 | 49 | * |
@@ -73,6 +73,10 @@ |
||
| 73 | 73 | $this->configuration = $configuration; |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $up |
|
| 78 | + * @param string $down |
|
| 79 | + */ |
|
| 76 | 80 | public function generateMigration( |
| 77 | 81 | string $fqcn, |
| 78 | 82 | ?string $up = null, |
@@ -5,8 +5,6 @@ |
||
| 5 | 5 | namespace Doctrine\Migrations\Tools\Console\Command; |
| 6 | 6 | |
| 7 | 7 | use Doctrine\Migrations\Exception\NoMigrationsFoundWithCriteria; |
| 8 | -use Doctrine\Migrations\Exception\NoMigrationsToExecute; |
|
| 9 | -use Doctrine\Migrations\Exception\UnknownMigrationVersion; |
|
| 10 | 8 | use Doctrine\Migrations\Metadata\ExecutedMigrationsList; |
| 11 | 9 | use Symfony\Component\Console\Formatter\OutputFormatter; |
| 12 | 10 | use Symfony\Component\Console\Input\InputArgument; |
@@ -227,7 +227,7 @@ |
||
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | /** |
| 230 | - * @return mixed[] |
|
| 230 | + * @return string |
|
| 231 | 231 | */ |
| 232 | 232 | private function getMigrationHeader(MigrationPlan $planItem, AbstractMigration $migration, string $direction) : array |
| 233 | 233 | { |