1 ERROR
: File
"typing_fail_protected_access2.php", line 18, characters 10-10:
2 Cannot access this protected member
, you don
't extend Foo (Typing[4112])
3 File "typing_fail_protected_access2.php", line 13, characters 29-29:
4 This member is protected
5 ERROR: File "typing_fail_protected_access2.php", line 17, characters 19-19:
6 Invalid return type (Typing[4336])
7 File "typing_fail_protected_access2.php", line 17, characters 25-27:
9 File "typing_fail_protected_access2.php", line 17, characters 19-19:
10 But got `void` because this function does not always return a value