File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
src/Symfony/Bundle/SecurityBundle/Security Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,7 @@ class FirewallContext
25
25
private $ exceptionListener ;
26
26
private $ config ;
27
27
28
- /**
29
- * @param \Traversable|array $listeners
30
- * @param ExceptionListener|null $exceptionListener
31
- * @param FirewallConfig|null $firewallConfig
32
- */
33
- public function __construct ($ listeners , ExceptionListener $ exceptionListener = null , FirewallConfig $ config = null )
28
+ public function __construct (iterable $ listeners , ExceptionListener $ exceptionListener = null , FirewallConfig $ config = null )
34
29
{
35
30
$ this ->listeners = $ listeners ;
36
31
$ this ->exceptionListener = $ exceptionListener ;
@@ -42,10 +37,7 @@ public function getConfig()
42
37
return $ this ->config ;
43
38
}
44
39
45
- /**
46
- * @return \Traversable|array
47
- */
48
- public function getListeners ()
40
+ public function getListeners (): iterable
49
41
{
50
42
return $ this ->listeners ;
51
43
}
You can’t perform that action at this time.
0 commit comments