Use more general return type

Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
Pablo Zmdl
2026-06-02 13:52:14 +02:00
parent 229412af0e
commit 0aed736a54

View File

@@ -1123,7 +1123,7 @@ readonly class DockerActionManager {
}
}
protected function sendHttpRequest(string $httpMethod, string $url, array $requestOptions = []): \GuzzleHttp\Psr7\Response {
protected function sendHttpRequest(string $httpMethod, string $url, array $requestOptions = []): Psr\Http\Message\ResponseInterface {
if ($requestOptions['stream'] ?? null === true) {
$requestOptions['proxy'] = 'unix:///var/run/docker.sock';
}