Have *Iterable Traits implement HH\Iterable or HH\KeyedIterable
commitfdaf79251b91cd8e9c23e01eb0cfa3d258d421d0
authorHunter Goldstein <hgoldstein@fb.com>
Thu, 9 Aug 2018 22:58:38 +0000 (9 15:58 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 9 Aug 2018 23:13:10 +0000 (9 16:13 -0700)
tree3650d3bf8b4a672f5d18f6a97db722259f9d377f
parent7eaa4dc5ec045caca7b084c845404af3172697cd
Have *Iterable Traits implement HH\Iterable or HH\KeyedIterable

Summary: The HHIs for these traits claim that they implement HH\Iterable and HH\KeyedIterable, but the implementations don't and HHVM claims they don't (they implement \Traversable).

Reviewed By: kmeht

Differential Revision: D9233604

fbshipit-source-id: 6f13e37845971e7fd4088a26b92053e0d9f746ab
hphp/system/php/collections/collections.ns.php
hphp/test/slow/traits/sys_trait.php