From 708ff3ed6ba1a32719a10431dad0c22d37461c25 Mon Sep 17 00:00:00 2001 From: Wouter de Jong Date: Sat, 23 Mar 2024 14:35:26 +0100 Subject: [PATCH] Fix implicit nullable parameter (PHP 8.4 deprecation) --- src/Command/BaseMigrateCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];