protected function removeCallback($response)
    {
        if (false !== strpos($response, 'callback')) {
            $lpos = strpos($response, '(');
            $rpos = strrpos($response, ')');
            $response = substr($response, $lpos + 1, $rpos - $lpos - 1);
        }

        return $response;
    }
protected function removeCallback($response)
    {
        if (false !== strpos($response, 'callback')) {
            $lpos = strpos($response, '(');
            $rpos = strrpos($response, ')');
            $response = substr($response, $lpos + 1, $rpos - $lpos - 1);
        }

        return $response;
    }
protected function removeCallback ( $ response ) { if ( false !== strpos ( $ response , 'callback' ) ) { $ lpos = strpos ( $ response , '(' ) ; $ rpos = strrpos ( $ response , ')' ) ; $ response = substr ( $ response , $ lpos + 1 , $ rpos - $ lpos - 1 ) ; } return $ response ; }
Remove the fucking callback parentheses.

@param string $response

@return string
Remove the fucking callback parentheses .