|
@@ -15,7 +15,7 @@ class FirewallContext
|
|
protected $listeners;
|
|
protected $listeners;
|
|
protected $exceptionListener;
|
|
protected $exceptionListener;
|
|
|
|
|
|
- public function __construct(array $listeners, ExceptionListener $exceptionListener)
|
|
|
|
|
|
+ public function __construct(array $listeners, ExceptionListener $exceptionListener = null)
|
|
{
|
|
{
|
|
$this->listeners = $listeners;
|
|
$this->listeners = $listeners;
|
|
$this->exceptionListener = $exceptionListener;
|
|
$this->exceptionListener = $exceptionListener;
|
|
@@ -25,4 +25,4 @@ class FirewallContext
|
|
{
|
|
{
|
|
return array($this->listeners, $this->exceptionListener);
|
|
return array($this->listeners, $this->exceptionListener);
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|