Remove workaround in NullGenerator.
parent
765b50b5f4
commit
229dde1d9f
|
@ -16,7 +16,6 @@ use Symfony\Component\Routing\Exception\RouteNotFoundException;
|
||||||
class NullGenerator implements UrlGeneratorInterface {
|
class NullGenerator implements UrlGeneratorInterface {
|
||||||
|
|
||||||
public function generate($name, $parameters = array(), $absolute = FALSE) {
|
public function generate($name, $parameters = array(), $absolute = FALSE) {
|
||||||
return '';
|
|
||||||
throw new RouteNotFoundException();
|
throw new RouteNotFoundException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue