Issue #3232892 by daffie, Spokje: [Symfony 6] Add "static" type hint to the method Drupal\Core\Routing\RequestContext::fromRequest()