Skip to content

Commit

Permalink
[Fix] Bug leaseweb#94 add php 5.3 support
Browse files Browse the repository at this point in the history
Add PHP 5.3 support by removing the direct class instantiation access.
  • Loading branch information
d3f3kt authored Jun 2, 2017
1 parent da91b5b commit 9f3e69c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Command/ClearCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
protected function interact(InputInterface $input, OutputInterface $output)
{
if (!$input->getArgument('pool')) {
$pool = (new InteractHelper())->askForPool($this, $input, $output);
$interactHelper = new InteractHelper();
$pool = $interactHelper->askForPool($this, $input, $output);
$input->setArgument('pool', $pool);
}
}
Expand Down

0 comments on commit 9f3e69c

Please sign in to comment.