[FrameworkBundle] fixed SecurityContext when security is disabled
This commit is contained in:
parent
8649debb06
commit
a8e0a22011
@ -15,7 +15,7 @@ class FirewallContext
|
||||
protected $listeners;
|
||||
protected $exceptionListener;
|
||||
|
||||
public function __construct(array $listeners, ExceptionListener $exceptionListener)
|
||||
public function __construct(array $listeners, ExceptionListener $exceptionListener = null)
|
||||
{
|
||||
$this->listeners = $listeners;
|
||||
$this->exceptionListener = $exceptionListener;
|
||||
@ -25,4 +25,4 @@ class FirewallContext
|
||||
{
|
||||
return array($this->listeners, $this->exceptionListener);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user