Skip to content

Commit 478f8c8

Browse files
committed
Remove return type for Controller events
1 parent f5289db commit 478f8c8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/CodeCompletion/Task/ControllerEventsTask.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ public function type(): string {
2121
*/
2222
public function create(): string {
2323
$events = <<<'TXT'
24-
public function startup(EventInterface $event): ?Response {
24+
public function startup(EventInterface $event) {
2525
return null;
2626
}
27-
public function beforeFilter(EventInterface $event): ?Response {
27+
public function beforeFilter(EventInterface $event) {
2828
return null;
2929
}
30-
public function beforeRender(EventInterface $event): ?Response {
30+
public function beforeRender(EventInterface $event) {
3131
return null;
3232
}
33-
public function afterFilter(EventInterface $event): ?Response {
33+
public function afterFilter(EventInterface $event) {
3434
return null;
3535
}
36-
public function shutdown(EventInterface $event): ?Response {
36+
public function shutdown(EventInterface $event) {
3737
return null;
3838
}
3939
public function beforeRedirect(EventInterface $event, $url, Response $response) {

0 commit comments

Comments
 (0)