From a6856888064791eef77de26dee86fc33e74dfbba Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 19 Mar 2024 11:13:26 +0100 Subject: [PATCH] Make more nullable types explicit --- Firewall/ChannelListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firewall/ChannelListener.php b/Firewall/ChannelListener.php index 986f213c..5ee144b2 100644 --- a/Firewall/ChannelListener.php +++ b/Firewall/ChannelListener.php @@ -34,7 +34,7 @@ class ChannelListener extends AbstractListener private $httpPort; private $httpsPort; - public function __construct(AccessMapInterface $map, /* LoggerInterface */ $logger = null, /* int */ $httpPort = 80, /* int */ $httpsPort = 443) + public function __construct(AccessMapInterface $map, /* ?LoggerInterface */ $logger = null, /* int */ $httpPort = 80, /* int */ $httpsPort = 443) { if ($logger instanceof AuthenticationEntryPointInterface) { trigger_deprecation('symfony/security-http', '5.4', 'The "$authenticationEntryPoint" argument of "%s()" is deprecated.', __METHOD__);