src/VK/OAuth/VKOAuth.php
protected function decodeBody(string $body) {
        $decoded_body = json_decode($body, true);

        if ($decoded_body === null || !is_array($decoded_body)) {
            $decoded_body = [];
        }

        return $decoded_body;
    }
protected function decodeBody(string $body) {
        $decoded_body = json_decode($body, true);

        if ($decoded_body === null || !is_array($decoded_body)) {
            $decoded_body = [];
        }

        return $decoded_body;
    }
protected function decodeBody ( string $ body ) { $ decoded_body = json_decode ( $ body , true ) ; if ( $ decoded_body === null || ! is_array ( $ decoded_body ) ) { $ decoded_body = [ ] ; } return $ decoded_body ; }
Decodes body.

@param string $body

@return mixed
Decodes body .