Skip to content

Commit 9f3e69c

Browse files
authored
[Fix] Bug leaseweb#94 add php 5.3 support
Add PHP 5.3 support by removing the direct class instantiation access.
1 parent da91b5b commit 9f3e69c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Command/ClearCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
6868
protected function interact(InputInterface $input, OutputInterface $output)
6969
{
7070
if (!$input->getArgument('pool')) {
71-
$pool = (new InteractHelper())->askForPool($this, $input, $output);
71+
$interactHelper = new InteractHelper();
72+
$pool = $interactHelper->askForPool($this, $input, $output);
7273
$input->setArgument('pool', $pool);
7374
}
7475
}

0 commit comments

Comments
 (0)