1 File
"trait_method_lookup_02.php", line 29, characters 26-26:
2 Some members in class `D` are incompatible with those declared in type `C`
(Typing
[4341])
3 File
"trait_method_lookup_02.php", line 18, characters 26-28:
4 The method `foo` is not compatible with the overridden method
5 File
"trait_method_lookup_02.php", line 29, characters 26-26:
6 Some members in class `D` are incompatible with those declared in type `C`
7 File
"trait_method_lookup_02.php", line 18, characters 26-28:
8 The method `foo` is not compatible with the overridden method
9 File
"trait_method_lookup_02.php", line 14, characters 42-44:
11 File
"trait_method_lookup_02.php", line 18, characters 33-37:
13 File
"trait_method_lookup_02.php", line 18, characters 26-28:
14 This declaration was inherited from an object of type `T`. Redeclare this member in `D` with a compatible signature.