From fffb58095a0d0fbaac84fb246019f48787b5f04c Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 2 Aug 2021 11:57:12 +0300 Subject: [PATCH] feat(macros): Add ability to fetch specific fields from single entry and from entries collection #558 --- src/flextype/macros.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/macros.php b/src/flextype/macros.php index 44c1f833..089e42eb 100644 --- a/src/flextype/macros.php +++ b/src/flextype/macros.php @@ -29,7 +29,7 @@ if (! Arrays::hasMacro('onlyFromCollection')) { }); } -if (! Arrays::hasMacro('onlyFromCollection')) { +if (! Arrays::hasMacro('exceptFromCollection')) { /** * Return slice of an array except given keys. *