src/Integrations/Underscore.php
public function call($string, $method, $args)
    {
        if ($this->methodUsesStringAsFirstArgument($method)) {
            array_unshift($args, (string) $string);
        }

        $underscoreResult = call_user_func_array(['Underscore\Types\Strings', $method], $args);

        if ($this->methodReturnsAString($method)) {
            return new Str($underscoreResult);
        }

        return $underscoreResult;
    }
public function call($string, $method, $args)
    {
        if ($this->methodUsesStringAsFirstArgument($method)) {
            array_unshift($args, (string) $string);
        }

        $underscoreResult = call_user_func_array(['Underscore\Types\Strings', $method], $args);

        if ($this->methodReturnsAString($method)) {
            return new Str($underscoreResult);
        }

        return $underscoreResult;
    }
@param \Spatie\String\Str $string
@param string             $method
@param array              $args

@return mixed|\Spatie\String\Str