Skip to content

Commit

Permalink
fix for php7 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbojsb committed Nov 9, 2016
1 parent 1d15efa commit d742bd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Yak/Command/AbstractCommand.php
Expand Up @@ -3,6 +3,8 @@
use Symfony\Component\Console\Command\Command,
Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

abstract class AbstractCommand extends Command
{
Expand All @@ -17,7 +19,7 @@ public function __construct()
$this->addOption('target', 't', InputOption::VALUE_OPTIONAL, 'target connection from config file');
}

public function initialize($input, $output)
protected function initialize(InputInterface $input, OutputInterface $output)
{
$this->input = $input;
$this->config = $this->getConfig();
Expand Down

0 comments on commit d742bd7

Please sign in to comment.