Skip to content

Commit a9ea461

Browse files
committed
Fix Tests
1 parent 478f8c8 commit a9ea461

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/TestCase/CodeCompletion/Task/ControllerEventsTaskTest.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ public function testCollect() {
3434
3535
if (false) {
3636
abstract class Controller {
37-
public function startup(EventInterface $event): ?Response {
37+
public function startup(EventInterface $event) {
3838
return null;
3939
}
40-
public function beforeFilter(EventInterface $event): ?Response {
40+
public function beforeFilter(EventInterface $event) {
4141
return null;
4242
}
43-
public function beforeRender(EventInterface $event): ?Response {
43+
public function beforeRender(EventInterface $event) {
4444
return null;
4545
}
46-
public function afterFilter(EventInterface $event): ?Response {
46+
public function afterFilter(EventInterface $event) {
4747
return null;
4848
}
49-
public function shutdown(EventInterface $event): ?Response {
49+
public function shutdown(EventInterface $event) {
5050
return null;
5151
}
5252
public function beforeRedirect(EventInterface $event, $url, Response $response) {
@@ -55,19 +55,19 @@ public function beforeRedirect(EventInterface $event, $url, Response $response)
5555
}
5656
5757
abstract class Component {
58-
public function startup(EventInterface $event): ?Response {
58+
public function startup(EventInterface $event) {
5959
return null;
6060
}
61-
public function beforeFilter(EventInterface $event): ?Response {
61+
public function beforeFilter(EventInterface $event) {
6262
return null;
6363
}
64-
public function beforeRender(EventInterface $event): ?Response {
64+
public function beforeRender(EventInterface $event) {
6565
return null;
6666
}
67-
public function afterFilter(EventInterface $event): ?Response {
67+
public function afterFilter(EventInterface $event) {
6868
return null;
6969
}
70-
public function shutdown(EventInterface $event): ?Response {
70+
public function shutdown(EventInterface $event) {
7171
return null;
7272
}
7373
public function beforeRedirect(EventInterface $event, $url, Response $response) {

0 commit comments

Comments
 (0)