Skip to content

Commit d16634e

Browse files
Merge branch '4.4' into 5.2
* 4.4: [4.4] Add missing `@return` annotations Handle lock with long key
2 parents d49dbec + 0b7dc55 commit d16634e

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
@@ -195,6 +195,9 @@ public static function fromShellCommandline(string $command, string $cwd = null,
195195
return $process;
196196
}
197197

198+
/**
199+
* @return array
200+
*/
198201
public function __sleep()
199202
{
200203
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);

0 commit comments

Comments
 (0)