Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Feb 16, 2023
1 parent bc04b7a commit a39ab00
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Command/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,9 @@ public function getNativeDefinition()
* @param int|null $mode The argument mode: InputArgument::REQUIRED or InputArgument::OPTIONAL
* @param mixed $default The default value (for InputArgument::OPTIONAL mode only)
*
* @throws InvalidArgumentException When argument mode is not valid
*
* @return $this
*
* @throws InvalidArgumentException When argument mode is not valid
*/
public function addArgument(string $name, int $mode = null, string $description = '', $default = null)
{
Expand All @@ -450,9 +450,9 @@ public function addArgument(string $name, int $mode = null, string $description
* @param int|null $mode The option mode: One of the InputOption::VALUE_* constants
* @param mixed $default The default value (must be null for InputOption::VALUE_NONE)
*
* @throws InvalidArgumentException If option mode is invalid or incompatible
*
* @return $this
*
* @throws InvalidArgumentException If option mode is invalid or incompatible
*/
public function addOption(string $name, $shortcut = null, int $mode = null, string $description = '', $default = null)
{
Expand Down
8 changes: 4 additions & 4 deletions Tester/TesterTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ trait TesterTrait
/**
* Gets the display returned by the last execution of the command or application.
*
* @throws \RuntimeException If it's called before the execute method
*
* @return string
*
* @throws \RuntimeException If it's called before the execute method
*/
public function getDisplay(bool $normalize = false)
{
Expand Down Expand Up @@ -103,9 +103,9 @@ public function getOutput()
/**
* Gets the status code returned by the last execution of the command or application.
*
* @throws \RuntimeException If it's called before the execute method
*
* @return int
*
* @throws \RuntimeException If it's called before the execute method
*/
public function getStatusCode()
{
Expand Down
2 changes: 1 addition & 1 deletion Tests/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@ public function __construct(bool $emitsSignal = true)
protected function execute(InputInterface $input, OutputInterface $output): int
{
if ($this->emitsSignal) {
posix_kill(posix_getpid(), SIGUSR1);
posix_kill(posix_getpid(), \SIGUSR1);
}

for ($i = 0; $i < $this->loop; ++$i) {
Expand Down

0 comments on commit a39ab00

Please sign in to comment.