Skip to content

Commit

Permalink
rename $input to $greetInput
Browse files Browse the repository at this point in the history
Not a good practice to set/abuse a variable that was passed as an argument
  • Loading branch information
xosofox authored and wouterj committed Jul 22, 2015
1 parent a0a2575 commit 53b4a3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/console/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,8 @@ Calling a command from another one is straightforward::
'--yell' => true,
);

$input = new ArrayInput($arguments);
$returnCode = $command->run($input, $output);
$greetInput = new ArrayInput($arguments);
$returnCode = $command->run($greetInput, $output);

// ...
}
Expand Down

0 comments on commit 53b4a3d

Please sign in to comment.