8000 Fix merge (phpdoc => typehint) · symfony/symfony@ba0a917 · GitHub
[go: up one dir, main page]

Skip to content

Commit ba0a917

Browse files
committed
Fix merge (phpdoc => typehint)
1 parent f309c09 commit ba0a917

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/Symfony/Bundle/SecurityBundle/Security/FirewallContext.php

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,7 @@ class FirewallContext
2525
private $exceptionListener;
2626
private $config;
2727

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)
3429
{
3530
$this->listeners = $listeners;
3631
$this->exceptionListener = $exceptionListener;
@@ -42,10 +37,7 @@ public function getConfig()
4237
return $this->config;
4338
}
4439

45-
/**
46-
* @return \Traversable|array
47-
*/
48-
public function getListeners()
40+
public function getListeners(): iterable
4941
{
5042
return $this->listeners;
5143
}

0 commit comments

Comments
 (0)
0