@@ -34,19 +34,19 @@ public function testCollect() {
3434
3535if (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