diff --git a/src/Lists.php b/src/Lists.php index 8599791..51c9d7a 100644 --- a/src/Lists.php +++ b/src/Lists.php @@ -66,7 +66,8 @@ function filter($list, callable $func) * @param mixed $acc * @return mixed */ -function accumulate($list, callable $func, $acc = null) { +function accumulate($list, callable $func, $acc = null) +{ return reduce($list, $func, $acc); }