diff --git a/typo3/sysext/install/Classes/SystemEnvironment/ServerResponse/ServerResponseCheck.php b/typo3/sysext/install/Classes/SystemEnvironment/ServerResponse/ServerResponseCheck.php index b686e9d2459c40168a16eef47504f5ac27315f2f..900b4e16c3593ed72d07857632762aee63dbfded 100644 --- a/typo3/sysext/install/Classes/SystemEnvironment/ServerResponse/ServerResponseCheck.php +++ b/typo3/sysext/install/Classes/SystemEnvironment/ServerResponse/ServerResponseCheck.php @@ -20,9 +20,7 @@ namespace TYPO3\CMS\Install\SystemEnvironment\ServerResponse; use GuzzleHttp\Client; use GuzzleHttp\Exception\BadResponseException; use GuzzleHttp\Exception\TransferException; - -use function GuzzleHttp\Promise\settle; - +use GuzzleHttp\Promise\Utils; use Psr\Http\Message\ResponseInterface; use TYPO3\CMS\Backend\Routing\UriBuilder; use TYPO3\CMS\Core\Crypto\Random; @@ -267,7 +265,7 @@ class ServerResponseCheck implements CheckInterface foreach ($this->fileDeclarations as $fileDeclaration) { $promises[] = $client->requestAsync('GET', $fileDeclaration->getUrl()); } - foreach (settle($promises)->wait() as $index => $response) { + foreach (Utils::settle($promises)->wait() as $index => $response) { $fileDeclaration = $this->fileDeclarations[$index]; if (($response['reason'] ?? null) instanceof BadResponseException) { $messageQueue->addMessage(