+ // Note this duplicates the deprecation message of
+ // Symfony\Component\HttpKernel\Controller\ControllerResolver::getArguments()
+ // to ensure it is removed in Drupal 9.
+ @trigger_error(sprintf('%s is deprecated as of 8.6.0 and will be removed in 9.0. Inject the "http_kernel.controller.argument_resolver" service instead.', __METHOD__, ArgumentResolverInterface::class), E_USER_DEPRECATED);