Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
36864 authored Dec 26, 2017
1 parent cd5eca1 commit 76c9db0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Illuminate/Console/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ public function call($command, array $arguments = [])
{
$arguments['command'] = $command;
$input = new ArrayInput($arguments);
if($input->hasParameterOption(array('--no-interaction'), true)) {
if ($input->hasParameterOption(['--no-interaction'], true)) {
$input->setInteractive(false);
}

return $this->getApplication()->find($command)->run(
$input, $this->output
);
Expand All @@ -214,10 +214,10 @@ public function callSilent($command, array $arguments = [])
{
$arguments['command'] = $command;
$input = new ArrayInput($arguments);
if($input->hasParameterOption(array('--no-interaction'), true)) {
if ($input->hasParameterOption(['--no-interaction'], true)) {
$input->setInteractive(false);
}

return $this->getApplication()->find($command)->run(
$input, new NullOutput
);
Expand Down

0 comments on commit 76c9db0

Please sign in to comment.