1 File
"trait_private_bad.php", line 24, characters 19-21:
2 Could not find method foo in an object of type B
(Typing
[4053])
3 File
"trait_private_bad.php", line 24, characters 12-16:
4 This is why I think it is an object of type B
5 File
"trait_private_bad.php", line 22, characters 7-7:
6 Declaration of B is here