Skip to content

Commit

Permalink
Fix implicit nullable parameter (PHP 8.4 deprecation)
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Mar 23, 2024
1 parent 435fa27 commit 708ff3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/BaseMigrateCommand.php
Expand Up @@ -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];
Expand Down

0 comments on commit 708ff3e

Please sign in to comment.