private function formatArguments($arguments)
    {
        $result = [];
        foreach ($arguments as $key => $argument) {
            if (is_object($argument)) {
                $result[$key] = get_class($argument);
                continue;
            }

            if (is_array($argument)) {
                $result[$key] = $this->formatArguments($argument);
                continue;
            }

            $result[$key] = $argument;
        }

        return $result;
    }
private function formatArguments($arguments)
    {
        $result = [];
        foreach ($arguments as $key => $argument) {
            if (is_object($argument)) {
                $result[$key] = get_class($argument);
                continue;
            }

            if (is_array($argument)) {
                $result[$key] = $this->formatArguments($argument);
                continue;
            }

            $result[$key] = $argument;
        }

        return $result;
    }
private function formatArguments ( $ arguments ) { $ result = [ ] ; foreach ( $ arguments as $ key => $ argument ) { if ( is_object ( $ argument ) ) { $ result [ $ key ] = get_class ( $ argument ) ; continue ; } if ( is_array ( $ argument ) ) { $ result [ $ key ] = $ this -> formatArguments ( $ argument ) ; continue ; } $ result [ $ key ] = $ argument ; } return $ result ; }
Reformat an argument list.

@param array $arguments The arguments to reformat.

@return mixed
Reformat an argument list .