Skip to content

Commit 8069f49

Browse files
[Security] Add native return type to Firewall::getSubscribedEvents()
1 parent 7147751 commit 8069f49

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Symfony/Component/Security/Http/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CHANGELOG
55
---
66

77
* `UserValueResolver` no longer implements `ArgumentValueResolverInterface`
8+
* Add native return type to `Firewall::getSubscribedEvents()`
89

910
6.3
1011
---

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

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

111-
/**
112-
* @return array
113-
*/
114-
public static function getSubscribedEvents()
111+
public static function getSubscribedEvents(): array
115112
{
116113
return [
117114
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