You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (null === $this->options['cache_dir'] || null === $this->options['generator_cache_class']) {
354
354
$routes = $this->getRouteCollection();
@@ -398,8 +398,8 @@ public function addExpressionLanguageProvider(ExpressionFunctionProviderInterfac
398
398
*/
399
399
protectedfunctiongetGeneratorDumperInstance()
400
400
{
401
-
// For BC, fallback to PhpGeneratorDumper if the UrlGenerator and UrlGeneratorDumper are not consistent with each other
402
-
if (is_a($this->options['generator_class'], CompiledUrlGenerator::class, true) !==is_a($this->options['generator_dumper_class'], CompiledUrlGeneratorDumper::class, true)) {
401
+
// For BC, fallback to PhpGeneratorDumper (which is the old default value) if the old UrlGenerator is used with the new default CompiledUrlGeneratorDumper
402
+
if (!is_a($this->options['generator_class'], CompiledUrlGenerator::class, true) &&is_a($this->options['generator_dumper_class'], CompiledUrlGeneratorDumper::class, true)) {
0 commit comments