Deprecate passing non-string parameters to \Drupal\Core\Utility\Token::scan then implement typehint