8000 minor #50889 [Security] Add native return type to `Firewall::getSubsc… · symfony/symfony@e869eb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit e869eb6

Browse files
minor #50889 [Security] Add native return type to Firewall::getSubscribedEvents() (nicolas-grekas)
This PR was merged into the 6.4 branch. Discussion ---------- [Security] Add native return type to `Firewall::getSubscribedEvents()` | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Required to make #50852 green without breaking compat between v6 and v7. Commits ------- 8069f49 [Security] Add native return type to `Firewall::getSubscribedEvents()`
2 parents 7147751 + 8069f49 commit e869eb6

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)
0