We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed00a2 commit becd9b9Copy full SHA for becd9b9
lib/Migrator.php
@@ -57,12 +57,12 @@ public function initialize()
57
* If $to is 0 then all migrations will be reverted.
58
* If $to is null then all migrations will be executed.
59
*
60
- * @param string $to Version to run until
+ * @param string|null $to Version to run until
61
* @param OutputInterface $output
62
63
* @return VersionInterface[] Executed migrations
64
*/
65
- public function migrate(?string $to, OutputInterface $output)
+ public function migrate($to, OutputInterface $output)
66
{
67
$from = $this->versionStorage->getCurrentVersion();
68
$to = $this->resolveTo($to, $from);
0 commit comments