Bug #94458

Updated by Henrik Elsner 4 months 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