[Routing] removed extra argument

This commit is contained in:
Fabien Potencier 2013-09-26 21:07:06 +02:00
parent 3ead941404
commit 54e2abd2ce

View File

@ -232,7 +232,7 @@ class Router implements RouterInterface
$class = $this->options['matcher_cache_class'];
$cache = new ConfigCache($this->options['cache_dir'].'/'.$class.'.php', $this->options['debug']);
if (!$cache->isFresh($class)) {
if (!$cache->isFresh()) {
$dumper = new $this->options['matcher_dumper_class']($this->getRouteCollection());
$options = array(
@ -264,7 +264,7 @@ class Router implements RouterInterface
} else {
$class = $this->options['generator_cache_class'];
$cache = new ConfigCache($this->options['cache_dir'].'/'.$class.'.php', $this->options['debug']);
if (!$cache->isFresh($class)) {
if (!$cache->isFresh()) {
$dumper = new $this->options['generator_dumper_class']($this->getRouteCollection());
$options = array(