mirror of
https://github.com/php/php-src.git
synced 2026-04-29 19:23:22 +02:00
d478ae73b1
Traits do not support interfaces, so we should not implement Stringable on them. Also check the __toString() return type in the same way other magic methods do, otherwise we would now miss the check in the trait case.
648 B
648 B