[WebProfilerBundle] Fix the intercept_redirects option
This commit is contained in:
parent
ac03440d7a
commit
5e141402e1
@ -37,7 +37,7 @@ class Configuration
|
|||||||
->children()
|
->children()
|
||||||
->booleanNode('verbose')->defaultTrue()->end()
|
->booleanNode('verbose')->defaultTrue()->end()
|
||||||
->booleanNode('toolbar')->defaultFalse()->end()
|
->booleanNode('toolbar')->defaultFalse()->end()
|
||||||
->scalarNode('intercept_redirects')->defaultFalse()->end()
|
->booleanNode('intercept_redirects')->defaultFalse()->end()
|
||||||
->end()
|
->end()
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ class WebDebugToolbarListener
|
|||||||
public function __construct(TwigEngine $templating, $interceptRedirects = false, $verbose = true)
|
public function __construct(TwigEngine $templating, $interceptRedirects = false, $verbose = true)
|
||||||
{
|
{
|
||||||
$this->templating = $templating;
|
$this->templating = $templating;
|
||||||
$this->interceptRedirects = $interceptRedirects;
|
$this->interceptRedirects = (Boolean) $interceptRedirects;
|
||||||
$this->verbose = (Boolean) $verbose;
|
$this->verbose = (Boolean) $verbose;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user