public function startCallback()
    {
        if (isset($_GET['code'])) {
            $token = $this->getToken($_GET['code']);

            return $token;
        } elseif (isset($_GET['error'])) {
            //blah blah
        }

        return false;
    }
public function startCallback()
    {
        if (isset($_GET['code'])) {
            $token = $this->getToken($_GET['code']);

            return $token;
        } elseif (isset($_GET['error'])) {
            //blah blah
        }

        return false;
    }
public function startCallback ( ) { if ( isset ( $ _GET [ 'code' ] ) ) { $ token = $ this -> getToken ( $ _GET [ 'code' ] ) ; return $ token ; } elseif ( isset ( $ _GET [ 'error' ] ) ) { //blah blah } return false ; }
Will return token if everything is OK.

@return \getjump\Vk\Response\Auth|bool|string
Will return token if everything is OK .