From d2e9e0bcf3d0860e19f95872ad566763adbc9910 Mon Sep 17 00:00:00 2001 From: Yanick Witschi Date: Fri, 31 Aug 2018 10:56:24 +0200 Subject: [PATCH] Fixed the interface description of the url generator interface --- .../Component/Routing/Generator/UrlGeneratorInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Routing/Generator/UrlGeneratorInterface.php b/src/Symfony/Component/Routing/Generator/UrlGeneratorInterface.php index f501ebd9a8389..c7f4fca74418c 100644 --- a/src/Symfony/Component/Routing/Generator/UrlGeneratorInterface.php +++ b/src/Symfony/Component/Routing/Generator/UrlGeneratorInterface.php @@ -73,7 +73,7 @@ interface UrlGeneratorInterface extends RequestContextAwareInterface * @param mixed $parameters An array of parameters * @param int $referenceType The type of reference to be generated (one of the constants) * - * @return string The generated URL + * @return string|null The generated URL * * @throws RouteNotFoundException If the named route doesn't exist * @throws MissingMandatoryParametersException When some parameters are missing that are mandatory for the route