Skip to content

Commit

Permalink
remove() bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
webNeat committed Sep 4, 2016
1 parent ed17001 commit 7a34e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7a34e0b

Please sign in to comment.