Skip to content

Commit

Permalink
Remove references to Rx\(Keyed)Container
Browse files Browse the repository at this point in the history
Summary: These are no longer necessary and are only ever implemented by Containers, so all these changes are safe

Reviewed By: hgoldstein

Differential Revision: D26715811

fbshipit-source-id: 74adfec12ccde879ebeae649e69b67044b88a447
  • Loading branch information
DavidSnider authored and facebook-github-bot committed Feb 28, 2021
1 parent 6e04229 commit 2211f05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/c/select.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ function last<T>(
return _Private\Native\last($traversable);
}
if ($traversable is Iterable<_>) {
/* HH_FIXME[4200] intersection of Iterable and Rx\Traversable is reactive */
/* HH_FIXME[4387] reported here as of 2020.09.21, hack v4.51.0 */
/* HH_FIXME[4390] need ctx constants */
return $traversable->lastValue();
Expand Down Expand Up @@ -259,7 +258,6 @@ function last_key<Tk, Tv>(
return _Private\Native\last_key($traversable);
}
if ($traversable is KeyedIterable<_, _>) {
/* HH_FIXME[4200] intersection of Iterable and Rx\Traversable is reactive */
/* HH_FIXME[4387] reported here as of 2020.09.21, hack v4.51.0 */
/* HH_FIXME[4390] need ctx constants */
return $traversable->lastKey();
Expand Down

0 comments on commit 2211f05

Please sign in to comment.