diff --git a/core/lib/Drupal.php b/core/lib/Drupal.php index fb9115a..6ef0b5d 100644 --- a/core/lib/Drupal.php +++ b/core/lib/Drupal.php @@ -412,10 +412,13 @@ public static function urlGenerator() { * @return string * The generated URL for the given route. * - * @throws RouteNotFoundException If the named route doesn't exist - * @throws MissingMandatoryParametersException When some parameters are missing that are mandatory for the route - * @throws InvalidParameterException When a parameter value for a placeholder is not correct because - * it does not match the requirement + * @throws \Symfony\Component\Routing\Exception\RouteNotFoundException + * Thrown when the named route doesn't exist. + * @throws \Symfony\Component\Routing\Exception\MissingMandatoryParametersException + * Thrown when some parameters are missing that are mandatory for the route. + * @throws \Symfony\Component\Routing\Exception\InvalidParameterException + * Thrown when a parameter value for a placeholder is not correct because it + * does not match the requirement. * * @see \Drupal\Core\Routing\UrlGeneratorInterface::generateFromRoute() */ @@ -479,10 +482,13 @@ public static function linkGenerator() { * @return string * An HTML string containing a link to the given route and parameters. * - * @throws RouteNotFoundException If the named route doesn't exist - * @throws MissingMandatoryParametersException When some parameters are missing that are mandatory for the route - * @throws InvalidParameterException When a parameter value for a placeholder is not correct because - * it does not match the requirement + * @throws \Symfony\Component\Routing\Exception\RouteNotFoundException + * Thrown when the named route doesn't exist. + * @throws \Symfony\Component\Routing\Exception\MissingMandatoryParametersException + * Thrown when some parameters are missing that are mandatory for the route. + * @throws \Symfony\Component\Routing\Exception\InvalidParameterException + * Thrown when a parameter value for a placeholder is not correct because it + * does not match the requirement. * * @see \Drupal\Core\Routing\UrlGeneratorInterface::generateFromRoute() * @see \Drupal\Core\Utility\LinkGeneratorInterface::generate() diff --git a/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php b/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php index ab0ea6e..dba34cd 100644 --- a/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php +++ b/core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php @@ -59,10 +59,13 @@ * @return string * An HTML string containing a link to the given route and parameters. * - * @throws RouteNotFoundException If the named route doesn't exist - * @throws MissingMandatoryParametersException When some parameters are missing that are mandatory for the route - * @throws InvalidParameterException When a parameter value for a placeholder is not correct because - * it does not match the requirement + * @throws \Symfony\Component\Routing\Exception\RouteNotFoundException + * Thrown when the named route doesn't exist. + * @throws \Symfony\Component\Routing\Exception\MissingMandatoryParametersException + * Thrown when some parameters are missing that are mandatory for the route. + * @throws \Symfony\Component\Routing\Exception\InvalidParameterException + * Thrown when a parameter value for a placeholder is not correct because it + * does not match the requirement. * * @see \Drupal\Core\Routing\UrlGenerator::generateFromRoute() */