[Routing] revert the return type for UrlGeneratorInterface::generate to remove null

This commit is contained in:
Douglas Greenshields 2019-11-08 17:25:00 +00:00
parent b8cdc6e6bb
commit 9f853f324f
No known key found for this signature in database
GPG Key ID: 83D5115506503F06
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,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|null The generated URL
* @return string 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