[SecurityBundle] Remove FirewallContext mandatory FirewallConfig argument deprecation
This commit is contained in:
parent
f09ccf49d1
commit
79ef474fdf
@ -27,10 +27,6 @@ class FirewallContext
|
|||||||
|
|
||||||
public function __construct(array $listeners, ExceptionListener $exceptionListener = null, FirewallConfig $config = null)
|
public function __construct(array $listeners, ExceptionListener $exceptionListener = null, FirewallConfig $config = null)
|
||||||
{
|
{
|
||||||
if (null === $config) {
|
|
||||||
@trigger_error(sprintf('"%s()" expects an instance of "%s" as third argument since version 3.2 and will trigger an error in 4.0 if not provided.', __METHOD__, FirewallConfig::class), E_USER_DEPRECATED);
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->listeners = $listeners;
|
$this->listeners = $listeners;
|
||||||
$this->exceptionListener = $exceptionListener;
|
$this->exceptionListener = $exceptionListener;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
|
Reference in New Issue
Block a user