can you tell me what's wrong with this google drive API call function in PHP
问题 I've got this code to run and fetch images from my drive. But i'm running into a problem every time I run this code. function listF() { $result = array(); $tok = array(); $nextPageToken = NULL; do { try { $parameters = array(); if ($nextPageToken) { $parameters['pageToken'] = $nextPageToken; $parameters['q'] = "mimeType='image/jpeg' or mimeType='image/png'"; } $files = $this->service->files->listFiles($parameters); $tok[] = $nextPageToken; $result = array_merge($tok, $result, $files->getFiles