Skip to content

Commit ff98682

Browse files
Run php-cs-fixer
1 parent 03ee97a commit ff98682

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

Process.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,6 @@ public function __construct(array $command, string $cwd = null, array $env = nul
183183
* @param mixed $input The input as stream resource, scalar or \Traversable, or null for no input
184184
* @param int|float|null $timeout The timeout in seconds or null to disable
185185
*
186-
* @return static
187-
*
188186
* @throws LogicException When proc_open is not installed
189187
*/
190188
public static function fromShellCommandline(string $command, string $cwd = null, array $env = null, mixed $input = null, ?float $timeout = 60): static
@@ -195,9 +193,6 @@ public static function fromShellCommandline(string $command, string $cwd = null,
195193
return $process;
196194
}
197195

198-
/**
199-
* @return array
200-
*/
201196
public function __sleep(): array
202197
{
203198
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
@@ -554,8 +549,6 @@ public function enableOutput(): static
554549

555550
/**
556551
* Returns true in case the output is disabled, false otherwise.
557-
*
558-
* @return bool
559552
*/
560553
public function isOutputDisabled(): bool
561554
{
@@ -781,8 +774,6 @@ public function isSuccessful(): bool
781774
*
782775
* It always returns false on Windows.
783776
*
784-
* @return bool
785-
*
786777
* @throws LogicException In case the process is not terminated
787778
*/
788779
public function hasBeenSignaled(): bool
@@ -797,8 +788,6 @@ public function hasBeenSignaled(): bool
797788
*
798789
* It is only meaningful if hasBeenSignaled() returns true.
799790
*
800-
* @return int
801-
*
802791
* @throws RuntimeException In case --enable-sigchild is activated
803792
* @throws LogicException In case the process is not terminated
804793
*/
@@ -818,8 +807,6 @@ public function getTermSignal(): int
818807
*
819808
* It always returns false on Windows.
820809
*
821-
* @return bool
822-
*
823810
* @throws LogicException In case the process is not terminated
824811
*/
825812
public function hasBeenStopped(): bool
@@ -834,8 +821,6 @@ public function hasBeenStopped(): bool
834821
*
835822
* It is only meaningful if hasBeenStopped() returns true.
836823
*
837-
* @return int
838-
*
839824
* @throws LogicException In case the process is not terminated
840825
*/
841826
public function getStopSignal(): int
@@ -1085,8 +1070,6 @@ public function setPty(bool $bool): static
10851070

10861071
/**
10871072
* Returns PTY state.
1088-
*
1089-
* @return bool
10901073
*/
10911074
public function isPty(): bool
10921075
{
@@ -1271,8 +1254,6 @@ public static function isTtySupported(): bool
12711254

12721255
/**
12731256
* Returns whether PTY is supported on the current operating system.
1274-
*
1275-
* @return bool
12761257
*/
12771258
public static function isPtySupported(): bool
12781259
{
@@ -1364,8 +1345,6 @@ protected function updateStatus(bool $blocking)
13641345

13651346
/**
13661347
* Returns whether PHP has been compiled with the '--enable-sigchild' option or not.
1367-
*
1368-
* @return bool
13691348
*/
13701349
protected function isSigchildEnabled(): bool
13711350
{

0 commit comments

Comments
 (0)