Skip to content

Commit b86a210

Browse files
authored
Merge pull request cakephp#2115 from nrob81/nrob81-patch-1
do not cast version variable to int
2 parents c4d7f05 + 76feba7 commit b86a210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Phinx/Console/Command/Migrate.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
6363
{
6464
$this->bootstrap($input, $output);
6565

66-
$version = (int)$input->getOption('target');
66+
$version = $input->getOption('target');
6767
/** @var string|null $environment */
6868
$environment = $input->getOption('environment');
6969
$date = $input->getOption('date');

0 commit comments

Comments
 (0)