Skip to content

Commit becd9b9

Browse files
Fix bc break
1 parent fed00a2 commit becd9b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Migrator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ public function initialize()
5757
* If $to is 0 then all migrations will be reverted.
5858
* If $to is null then all migrations will be executed.
5959
*
60-
* @param string $to Version to run until
60+
* @param string|null $to Version to run until
6161
* @param OutputInterface $output
6262
*
6363
* @return VersionInterface[] Executed migrations
6464
*/
65-
public function migrate(?string $to, OutputInterface $output)
65+
public function migrate($to, OutputInterface $output)
6666
{
6767
$from = $this->versionStorage->getCurrentVersion();
6868
$to = $this->resolveTo($to, $from);

0 commit comments

Comments
 (0)