[GIT-PULLS] [php-src] PR #23266: Fix GH-14156: Inherited private method does not satisfy abstract trait requirement
[email protected] (matthiasgoergens)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <vC9Us3ngNz8PCt7yCGd6nPQ4P59wO8HnhOLFHyBOAnA@main.internal.php.net> |
Pull Request: https://github.com/php/php-src/pull/23266 Author: matthiasgoergens A private method inherited from a parent class is not accessible from the using class, but trait composition treats it as satisfying an abstract trait method, which then fails at call time. Only private methods declared in the using class itself satisfy the requirement.