Bug #94458

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

Added by Henrik Elsner 4 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2021-07-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Also available in: Atom PDF