From 9dcba4b63d8e28958f1d1850cc1a45a1cf832832 Mon Sep 17 00:00:00 2001 From: Moshe Weitzman Date: Thu, 4 Apr 2024 07:38:34 -0400 Subject: [PATCH] Comply with parent return type --- src/ProcessBase.php | 2 +- src/SiteProcess.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ProcessBase.php b/src/ProcessBase.php index 65872d8..2ad6186 100644 --- a/src/ProcessBase.php +++ b/src/ProcessBase.php @@ -125,7 +125,7 @@ public function setLogger($logger) /** * @inheritDoc */ - public function start(callable $callback = null, array $env = []) + public function start(callable $callback = null, array $env = []): void { $cmd = $this->getCommandLine(); if ($this->isSimulated()) { diff --git a/src/SiteProcess.php b/src/SiteProcess.php index e8a8fa2..c0aec48 100644 --- a/src/SiteProcess.php +++ b/src/SiteProcess.php @@ -198,7 +198,7 @@ public function getCommandLine(): string /** * @inheritDoc */ - public function start(callable $callback = null, array $env = []) + public function start(callable $callback = null, array $env = []): void { $cmd = $this->getCommandLine(); parent::start($callback, $env);