From 9f3e69c4f6210f7e794d73ae06cd6a9529ee1012 Mon Sep 17 00:00:00 2001 From: David Geistert Date: Fri, 2 Jun 2017 18:05:44 +0200 Subject: [PATCH] [Fix] Bug #94 add php 5.3 support Add PHP 5.3 support by removing the direct class instantiation access. --- Command/ClearCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Command/ClearCommand.php b/Command/ClearCommand.php index b325152..1d62034 100644 --- a/Command/ClearCommand.php +++ b/Command/ClearCommand.php @@ -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); } }