Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b193c57

Browse filesBrowse files
committed
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 ------- ba0a917 Fix merge (phpdoc => typehint)
2 parents f309c09 + ba0a917 commit b193c57
Copy full SHA for b193c57

File tree

Expand file treeCollapse file tree

1 file changed

+2
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-10
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/Security/FirewallContext.php
+2-10Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.