Skip to content

Commit de53910

Browse files
[Security] Add native return type to Firewall::getSubscribedEvents()
1 parent 36a82ce commit de53910

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

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)