[php-src] PR #23266: Fix GH-14156: Inherited private method does not satisfy abstract trait requirement
| From: | matthiasgoergens | Date: | Fri, 14 Aug 2026 04:11:17 +0000 |
| Subject: | [php-src] PR #23266: Fix GH-14156: Inherited private method does not satisfy abstract trait requirement | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37843@lists.php.net to get a copy of this message | ||
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.