History log of /PHP-8.2/Zend/tests/traits/abstract_method_9.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# cf7c6828 23-Apr-2020 Nikita Popov

Fix treatment of "self" when validating against trait method

If we're validating a class method against a trait method, we need
to treat "self" in the trait method as the class where the

Fix treatment of "self" when validating against trait method

If we're validating a class method against a trait method, we need
to treat "self" in the trait method as the class where the method
is used. To achieve this, we need to thread the proto scope through
all methods, so it can be provided separately from proto.common->scope.

show more ...