Skip to content

Commit

Permalink
Add remaining missing return types to safe methods
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj authored and nicolas-grekas committed Apr 24, 2023
1 parent 198ae32 commit 39cbf15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ public function stop(float $timeout = 10, int $signal = null): ?int
*
* @internal
*/
public function addOutput(string $line)
public function addOutput(string $line): void
{
$this->lastOutputTime = microtime(true);

Expand All @@ -926,7 +926,7 @@ public function addOutput(string $line)
*
* @internal
*/
public function addErrorOutput(string $line)
public function addErrorOutput(string $line): void
{
$this->lastOutputTime = microtime(true);

Expand Down

0 comments on commit 39cbf15

Please sign in to comment.