1 Typing
[4030] Was expecting a
return type hint
2 --> messages_same_line.php
3 3 | function foo
(): void
{} function bar
() { foo
(1); }
6 Typing
[4105] Too many arguments
(expected
0 but got
1)
7 --> messages_same_line.php
8 3 | function foo
(): void
{} function bar
() { foo
(1); }
10 | ^^^ Definition is here