minor #23162 [SecurityBundle] Fix merge (phpdoc => typehint) (chalasr)
This PR was merged into the 4.0-dev branch.
Discussion
----------
[SecurityBundle] Fix merge (phpdoc => typehint)
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Commits
-------
ba0a917550
Fix merge (phpdoc => typehint)
This commit is contained in:
commit
b193c5737f
@ -25,12 +25,7 @@ class FirewallContext
|
||||
private $exceptionListener;
|
||||
private $config;
|
||||
|
||||
/**
|
||||
* @param \Traversable|array $listeners
|
||||
* @param ExceptionListener|null $exceptionListener
|
||||
* @param FirewallConfig|null $firewallConfig
|
||||
*/
|
||||
public function __construct($listeners, ExceptionListener $exceptionListener = null, FirewallConfig $config = null)
|
||||
public function __construct(iterable $listeners, ExceptionListener $exceptionListener = null, FirewallConfig $config = null)
|
||||
{
|
||||
$this->listeners = $listeners;
|
||||
$this->exceptionListener = $exceptionListener;
|
||||
@ -42,10 +37,7 @@ class FirewallContext
|
||||
return $this->config;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Traversable|array
|
||||
*/
|
||||
public function getListeners()
|
||||
public function getListeners(): iterable
|
||||
{
|
||||
return $this->listeners;
|
||||
}
|
||||
|
Reference in New Issue
Block a user