Request.php
public function closure_array_walk(callable $closure)
    {
        if (empty($this->storage)) {
            return false;
        }

        if (\is_array($this->storage)) {
            array_walk($this->storage, $closure);
        } else {
            $closure($this->storage);
        }

        return function ($array) {
            return \count($array) === 1 ? array_shift($array) : $array;
        };
    }
public function closure_array_walk(callable $closure)
    {
        if (empty($this->storage)) {
            return false;
        }

        if (\is_array($this->storage)) {
            array_walk($this->storage, $closure);
        } else {
            $closure($this->storage);
        }

        return function ($array) {
            return \count($array) === 1 ? array_shift($array) : $array;
        };
    }
Runs a callable function on every member of the $storage set.
If one value is present one value will be returned. If an array
is set, and array will be returned.
@param callable $closure
@return bool|\Closure