Project

General

Profile

Actions

Bug #94458

closed

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

Added by Henrik Elsner over 3 years ago. Updated about 3 years 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
Actions

Also available in: Atom PDF