Skip to content

Commit a39ab00

Browse files
CS fix
1 parent bc04b7a commit a39ab00

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Command/Command.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ public function getNativeDefinition()
429429
* @param int|null $mode The argument mode: InputArgument::REQUIRED or InputArgument::OPTIONAL
430430
* @param mixed $default The default value (for InputArgument::OPTIONAL mode only)
431431
*
432-
* @throws InvalidArgumentException When argument mode is not valid
433-
*
434432
* @return $this
433+
*
434+
* @throws InvalidArgumentException When argument mode is not valid
435435
*/
436436
public function addArgument(string $name, int $mode = null, string $description = '', $default = null)
437437
{
@@ -450,9 +450,9 @@ public function addArgument(string $name, int $mode = null, string $description
450450
* @param int|null $mode The option mode: One of the InputOption::VALUE_* constants
451451
* @param mixed $default The default value (must be null for InputOption::VALUE_NONE)
452452
*
453-
* @throws InvalidArgumentException If option mode is invalid or incompatible
454-
*
455453
* @return $this
454+
*
455+
* @throws InvalidArgumentException If option mode is invalid or incompatible
456456
*/
457457
public function addOption(string $name, $shortcut = null, int $mode = null, string $description = '', $default = null)
458458
{

Tester/TesterTrait.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ trait TesterTrait
3535
/**
3636
* Gets the display returned by the last execution of the command or application.
3737
*
38-
* @throws \RuntimeException If it's called before the execute method
39-
*
4038
* @return string
39+
*
40+
* @throws \RuntimeException If it's called before the execute method
4141
*/
4242
public function getDisplay(bool $normalize = false)
4343
{
@@ -103,9 +103,9 @@ public function getOutput()
103103
/**
104104
* Gets the status code returned by the last execution of the command or application.
105105
*
106-
* @throws \RuntimeException If it's called before the execute method
107-
*
108106
* @return int
107+
*
108+
* @throws \RuntimeException If it's called before the execute method
109109
*/
110110
public function getStatusCode()
111111
{

Tests/ApplicationTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2118,7 +2118,7 @@ public function __construct(bool $emitsSignal = true)
21182118
protected function execute(InputInterface $input, OutputInterface $output): int
21192119
{
21202120
if ($this->emitsSignal) {
2121-
posix_kill(posix_getpid(), SIGUSR1);
2121+
posix_kill(posix_getpid(), \SIGUSR1);
21222122
}
21232123

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

0 commit comments

Comments
 (0)