Project

General

Profile

Bug #94458

Updated by Henrik Elsner almost 3 years ago

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

 in here the migration segment shows an incorrect method call 

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

 is wrong as the method declaration is the following: 

 <pre><code class="php"> 
 request(string $uri, string $method = 'GET', array $options = []): ResponseInterface 
 </code></pre> 

Back