diff --git a/src/Command/BaseMigrateCommand.php b/src/Command/BaseMigrateCommand.php index 879fc2a..a313f90 100644 --- a/src/Command/BaseMigrateCommand.php +++ b/src/Command/BaseMigrateCommand.php @@ -46,7 +46,7 @@ protected function getMigrationPath(): string return $this->migrationPath; } - protected function getMigrationPaths(InputInterface $input = null): array + protected function getMigrationPaths(?InputInterface $input = null): array { if (null !== $input && $input->hasOption('path') && null !== $path = $input->getOption('path')) { return [getcwd().'/'.$path];