From 3bc221bbf5d45343a2e05cff6a0c064ac61676a5 Mon Sep 17 00:00:00 2001 From: Alexey Kopytko Date: Fri, 4 Oct 2019 23:45:23 +0900 Subject: [PATCH] Deprecate fromArray() to simplify the API as take() can do as much --- src/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/functions.php b/src/functions.php index 1a3fcbb..0ade577 100644 --- a/src/functions.php +++ b/src/functions.php @@ -35,6 +35,7 @@ function take(iterable $input = null): Standard return new Standard($input); } +/** @deprecated */ function fromArray(array $input): Standard { return new Standard($input);