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 eca0d02 commit a1ba780Copy full SHA for a1ba780
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