mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-03 01:10:08 +00:00
Use more general return type
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user