Issue Bug Closed

#94458Incorrect RST docu for #90956 (GeneralUtility::getUrl replacement)

Henrik Elsner 07/01/21, 13:20 updated 09/07/21, 07:33

Description

typo3/sysext/core/Documentation/Changelog/master/Deprecation-90956-AlternativeFetchMethodsAndReportsForGeneralUtilitygetUrl.rst

in here the migration segment shows an incorrect method call

GeneralUtility::makeInstance(RequestFactory::class)->request($url, [$headers => ['accept' => 'application/json']);

is wrong as the method declaration is the following:

request(string $uri, string $method = 'GET', array $options = []): ResponseInterface

Reviews 2