[SecurityBundle] Remove FirewallContext mandatory FirewallConfig argument deprecation

This commit is contained in:
Maxime STEINHAUSSER 2016-11-23 15:35:00 +01:00
parent f09ccf49d1
commit 79ef474fdf

View File

@ -27,10 +27,6 @@ class FirewallContext
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->exceptionListener = $exceptionListener;
$this->config = $config;