Skip to content

Commit

Permalink
Make more nullable types explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Mar 19, 2024
1 parent 87ee1ea commit a685688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firewall/ChannelListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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__);
Expand Down

0 comments on commit a685688

Please sign in to comment.