Skip to content

Commit 6c85287

Browse files
[Security] Revert return type on Firewall
1 parent a7d2bae commit 6c85287

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/expected-missing-return-types.diff

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11876,7 +11876,7 @@ index 513b6494e5..c0211b6e39 100644
1187611876
{
1187711877
/** @var IsGranted[] $attributes */
1187811878
diff --git a/src/Symfony/Component/Security/Http/Firewall.php b/src/Symfony/Component/Security/Http/Firewall.php
11879-
index f22988da13..8538f5f821 100644
11879+
index f2f86a5dfa..bd47629587 100644
1188011880
--- a/src/Symfony/Component/Security/Http/Firewall.php
1188111881
+++ b/src/Symfony/Component/Security/Http/Firewall.php
1188211882
@@ -51,5 +51,5 @@ class Firewall implements EventSubscriberInterface
@@ -11893,7 +11893,14 @@ index f22988da13..8538f5f821 100644
1189311893
+ public function onKernelFinishRequest(FinishRequestEvent $event): void
1189411894
{
1189511895
$request = $event->getRequest();
11896-
@@ -120,5 +120,5 @@ class Firewall implements EventSubscriberInterface
11896+
@@ -112,5 +112,5 @@ class Firewall implements EventSubscriberInterface
11897+
* @return array
11898+
*/
11899+
- public static function getSubscribedEvents()
11900+
+ public static function getSubscribedEvents(): array
11901+
{
11902+
return [
11903+
@@ -123,5 +123,5 @@ class Firewall implements EventSubscriberInterface
1189711904
* @return void
1189811905
*/
1189911906
- protected function callListeners(RequestEvent $event, iterable $listeners)

src/Symfony/Component/Security/Http/Firewall.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,10 @@ public function onKernelFinishRequest(FinishRequestEvent $event)
108108
}
109109
}
110110

111-
public static function getSubscribedEvents(): array
111+
/**
112+
* @return array
113+
*/
114+
public static function getSubscribedEvents()
112115
{
113116
return [
114117
KernelEvents::REQUEST => ['onKernelRequest', 8],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy