Skip to content

Commit

Permalink
_Private\is_any_array in C\last_key
Browse files Browse the repository at this point in the history
Summary:
Missed a callsite when unreleasing globals.

Created from Diffusion's 'Open in Editor' feature.

Reviewed By: fredemmott

Differential Revision: D6161971

fbshipit-source-id: eff639c145959dbbcde5cb45111ccc918c09ed70
  • Loading branch information
kmeht authored and facebook-github-bot committed Oct 26, 2017
1 parent ee8aa72 commit 99ed4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c/select.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function lastx<Tv>(Traversable<Tv> $traversable): Tv {
function last_key<Tk, Tv>(
KeyedTraversable<Tk, Tv> $traversable,
): ?Tk {
if (\is_any_array($traversable)) {
if (_Private\is_any_array($traversable)) {
if (!$traversable) {
return null;
}
Expand Down

0 comments on commit 99ed4bc

Please sign in to comment.