Closed thekid closed 3 years ago
function fixture(Countable&Traversable $t) { ... }
See xp-framework/compiler#117 and https://wiki.php.net/rfc/pure-intersection-types
:warning: Unchecked for all other PHP versions at the moment
For this to be testable, XP Framework reflection should support intersection types properly
See https://github.com/xp-framework/core/pull/277
See xp-framework/compiler#117 and https://wiki.php.net/rfc/pure-intersection-types
:warning: Unchecked for all other PHP versions at the moment