Skip to content

Commit 323548c

Browse files
remove unused
1 parent bb8644c commit 323548c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/array_functions.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@ function first(iterable $items, callable $callback, $default = null, int $mode =
1414
return $default;
1515
}
1616

17-
function head(iterable $items, $default = null)
18-
{
19-
foreach ($items as $value) {
20-
return $value;
21-
}
22-
23-
return $default;
24-
}
25-
2617
function map(iterable $items, callable $callback, int $mode = CALLBACK_USE_VALUE): array
2718
{
2819
$result = [];

0 commit comments

Comments
 (0)