Skip to content

Commit 4a92c57

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: [Security] Document `FirewallListenerInterface` as a firewall listener type Remove unused and non-existent Factory attribute use fix: twigphp/Twig/issues/4647
2 parents d06b46b + 3db1460 commit 4a92c57

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Security/FirewallContext.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Bundle\SecurityBundle\Security;
1313

1414
use Symfony\Component\Security\Http\Firewall\ExceptionListener;
15+
use Symfony\Component\Security\Http\Firewall\FirewallListenerInterface;
1516
use Symfony\Component\Security\Http\Firewall\LogoutListener;
1617

1718
/**
@@ -23,7 +24,7 @@
2324
class FirewallContext
2425
{
2526
/**
26-
* @param iterable<mixed, callable> $listeners
27+
* @param iterable<mixed, callable|FirewallListenerInterface> $listeners
2728
*/
2829
public function __construct(
2930
private iterable $listeners,
@@ -39,7 +40,7 @@ public function getConfig(): ?FirewallConfig
3940
}
4041

4142
/**
42-
* @return iterable<mixed, callable>
43+
* @return iterable<mixed, callable|FirewallListenerInterface>
4344
*/
4445
public function getListeners(): iterable
4546
{

0 commit comments

Comments
 (0)