Skip to content

Commit f563d84

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: (27 commits) feat: add completion for DebugAutowiring search argument [Routing] Add support for aliasing routes [DependencyInjection] only allow `ReflectionNamedType` for `ServiceSubscriberTrait` Fix CS [Console] Open CompleteCommand for custom outputs [Intl] Update the ICU data to 70.1 [Messenger] Add completion for failed messages commands. Fix tests Fixing missing full_stack variable that's needed by toolbar.html.twig [PropertyInfo] Bump phpstan/phpdoc-parser [Security] Backport type fixes [VarExporter] escape unicode chars involved in directionality [Framework] Add completion to debug:container [Messenger] Add completion to command messenger:consume [Intl] Update the ICU data to 70.1 Fix more generic types Default access_decision_manager.strategy option with merge. Fix typos Update validators.ca.xlf Add missing Validator translations for Estonian ... Signed-off-by: Alexander M. Turek <[email protected]>
2 parents 8e12b1f + 64a60f2 commit f563d84

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Firewall/ContextListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class ContextListener extends AbstractListener
5353
private ?\Closure $sessionTrackerEnabler;
5454

5555
/**
56-
* @param iterable<int, UserProviderInterface> $userProviders
56+
* @param iterable<mixed, UserProviderInterface> $userProviders
5757
*/
5858
public function __construct(TokenStorageInterface $tokenStorage, iterable $userProviders, string $contextKey, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, AuthenticationTrustResolverInterface $trustResolver = null, callable $sessionTrackerEnabler = null)
5959
{

FirewallMap.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,14 @@
2424
*/
2525
class FirewallMap implements FirewallMapInterface
2626
{
27+
/**
28+
* @var list<array{RequestMatcherInterface, list<callable>, ExceptionListener|null, LogoutListener|null}>
29+
*/
2730
private array $map = [];
2831

32+
/**
33+
* @param list<callable> $listeners
34+
*/
2935
public function add(RequestMatcherInterface $requestMatcher = null, array $listeners = [], ExceptionListener $exceptionListener = null, LogoutListener $logoutListener = null)
3036
{
3137
$this->map[] = [$requestMatcher, $listeners, $exceptionListener, $logoutListener];

FirewallMapInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ interface FirewallMapInterface
3535
* If there is no logout listener, the third element of the outer array
3636
* must be null.
3737
*
38-
* @return array{list<callable>, ExceptionListener, LogoutListener}
38+
* @return array{iterable<mixed, callable>, ExceptionListener, LogoutListener}
3939
*/
4040
public function getListeners(Request $request);
4141
}

0 commit comments

Comments
 (0)