Skip to content

Commit

Permalink
Deprecate fromArray() to simplify the API as take() can do as much
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Oct 4, 2019
1 parent ab572e5 commit 3bc221b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ function take(iterable $input = null): Standard
return new Standard($input);
}

/** @deprecated */
function fromArray(array $input): Standard
{
return new Standard($input);
Expand Down

0 comments on commit 3bc221b

Please sign in to comment.