From a622a78bba1f9a33d0f342433c6228dbf74cc671 Mon Sep 17 00:00:00 2001 From: Pablo Zmdl Date: Thu, 28 May 2026 13:45:30 +0200 Subject: [PATCH] Fix syntax errors Signed-off-by: Pablo Zmdl --- php/src/Docker/DockerActionManager.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/php/src/Docker/DockerActionManager.php b/php/src/Docker/DockerActionManager.php index 61c7d9e9..0d46b080 100644 --- a/php/src/Docker/DockerActionManager.php +++ b/php/src/Docker/DockerActionManager.php @@ -1145,9 +1145,11 @@ readonly class DockerActionManager { } } - protected function sendHttpRequest(string $httpMethod, string $url, array $requestOptions = []): Guzzle\Http\Message\Response { - if ($requestOptions['stream'] === true) { + protected function sendHttpRequest(string $httpMethod, string $url, array $requestOptions = []): \GuzzleHttp\Psr7\Response { + if ($requestOptions['stream'] ?? null === true) { $requestOptions['proxy'] = 'unix:///var/run/docker.sock'; } return $this->guzzleClient->request($httpMethod, $url, $requestOptions); } + +} \ No newline at end of file