Skip to content

Commit 0b7dc55

Browse files
[4.4] Add missing @return annotations
1 parent af75ea2 commit 0b7dc55

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Pipes/UnixPipes.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ public function __construct(?bool $ttyMode, bool $ptyMode, $input, bool $haveRea
3535
parent::__construct($input);
3636
}
3737

38+
/**
39+
* @return array
40+
*/
3841
public function __sleep()
3942
{
4043
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);

Pipes/WindowsPipes.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ public function __construct($input, bool $haveReadSupport)
8888
parent::__construct($input);
8989
}
9090

91+
/**
92+
* @return array
93+
*/
9194
public function __sleep()
9295
{
9396
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);

Process.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ public static function fromShellCommandline(string $command, string $cwd = null,
198198
return $process;
199199
}
200200

201+
/**
202+
* @return array
203+
*/
201204
public function __sleep()
202205
{
203206
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);

0 commit comments

Comments
 (0)