Skip to content

Commit afc10b9

Browse files
author
Douglas Greenshields
committed
[Routing] revert the return type for UrlGeneratorInterface::generate to remove null
1 parent ebc745e commit afc10b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Generator/UrlGeneratorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ interface UrlGeneratorInterface extends RequestContextAwareInterface
7575
* @param mixed[] $parameters An array of parameters
7676
* @param int $referenceType The type of reference to be generated (one of the constants)
7777
*
78-
* @return string|null The generated URL
78+
* @return string The generated URL
7979
*
8080
* @throws RouteNotFoundException If the named route doesn't exist
8181
* @throws MissingMandatoryParametersException When some parameters are missing that are mandatory for the route

0 commit comments

Comments
 (0)