We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ece2e0 commit c90af2cCopy full SHA for c90af2c
lib/routing/sfRouting.class.php
@@ -68,7 +68,7 @@ public function initialize(sfEventDispatcher $dispatcher, ?sfCache $cache = null
68
{
69
$this->dispatcher = $dispatcher;
70
71
- $options['debug'] = isset($options['debug']) ? (bool) $options['debug'] : false;
+ $options['debug'] = (bool) $options['debug'] ?? false;
72
73
// disable caching when in debug mode
74
$this->cache = $options['debug'] ? null : $cache;
0 commit comments