Fixed the interface description of the url generator interface

This commit is contained in:
Yanick Witschi 2018-08-31 10:56:24 +02:00
parent fb9ccc0fec
commit d2e9e0bcf3

View File

@ -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