Additional change for 2.5 ProgressBar support
getProgress() is not available and getStep() throws a deprecation warning.
This commit is contained in:
parent
72589f8341
commit
797d066286
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ class PopulateCommand extends ContainerAwareCommand
|
|||
$progress->setMessage(sprintf('<info>Populating</info> <comment>%s/%s</comment>', $index, $type));
|
||||
$progress->advance($increment);
|
||||
|
||||
if ($progress->getProgress() >= $progress->getMaxSteps()) {
|
||||
if ($progress->getProgressPercent() >= 1.0) {
|
||||
$progress->finish();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue