From 7a34e0b671032b56d42493aad0d15a1122c1059a Mon Sep 17 00:00:00 2001 From: Amine Ben hammou Date: Sun, 4 Sep 2016 15:23:51 +0200 Subject: [PATCH] remove() bug fixed --- src/array.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/array.php b/src/array.php index 24757f2..13376dc 100644 --- a/src/array.php +++ b/src/array.php @@ -404,7 +404,7 @@ function take() { * @param array $array * @return array */ -function remove($count, $array) { +function remove() { $remove = function($count, $array) { if(is_string($array)) { return ($count >= 0)