private function array_walk(&$original, $callback, $userdata = [])
    {
        $resolved = (array)$original;

        array_walk($resolved, $callback, $userdata);

        if(count((array)$original) == 1) $resolved = reset($resolved);

        $original = $resolved;
    }
private function array_walk(&$original, $callback, $userdata = [])
    {
        $resolved = (array)$original;

        array_walk($resolved, $callback, $userdata);

        if(count((array)$original) == 1) $resolved = reset($resolved);

        $original = $resolved;
    }
private function array_walk ( & $ original , $ callback , $ userdata = [ ] ) { $ resolved = ( array ) $ original ; array_walk ( $ resolved , $ callback , $ userdata ) ; if ( count ( ( array ) $ original ) == 1 ) $ resolved = reset ( $ resolved ) ; $ original = $ resolved ; }
Used to translate shorthand
@param $original
@param $callback
@param array $userdata
Used to translate shorthand