10000 Updated code style as according to fabbot · symfony/symfony@5c7ae61 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c7ae61

Browse files
committed
Updated code style as according to fabbot
1 parent 24d6e7e commit 5c7ae61

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Symfony/Component/Process/Process.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public function start(callable $callback = null, array $env = [])
340340

341341
$envPairs = [];
342342
foreach ($env as $k => $v) {
343-
if (false !== $v && false === in_array(strtolower($k), ['argc', 'argv'], true)) {
343+
if (false !== $v && false === \in_array(strtolower($k), ['argc', 'argv'], true)) {
344344
$envPairs[] = $k.'='.$v;
345345
}
346346
}
@@ -973,8 +973,6 @@ public function addErrorOutput(string $line)
973973

974974
/**
975975
* Gets the last output time in seconds.
976-
*
977-
* @return float|null
978976
*/
979977
public function getLastOutputTime(): ?float
980978
{
@@ -1493,8 +1491,6 @@ private function resetProcessData()
14931491
* @param int $signal A valid POSIX signal (see https://php.net/pcntl.constants)
14941492
* @param bool $throwException Whether to throw exception in case signal failed
14951493
*
1496-
* @return bool
1497-
*
14981494
* @throws LogicException In case the process is not running
14991495
* @throws RuntimeException In case --enable-sigchild is activated and the process can't be killed
15001496
* @throws RuntimeException In case of failure

0 commit comments

Comments
 (0)
0