diff --git a/src/Authentication/OAuth2Client.php b/src/Authentication/OAuth2Client.php index 6b24619..cd1c558 100755 --- a/src/Authentication/OAuth2Client.php +++ b/src/Authentication/OAuth2Client.php @@ -242,7 +242,7 @@ protected function sendRequestWithClientParams( /** * Returns the client_* params for OAuth requests. - * @return array + * @return array{client_id: string, client_secret: string} */ protected function getClientParams(): array { diff --git a/src/Facebook.php b/src/Facebook.php index f112049..8f9712f 100755 --- a/src/Facebook.php +++ b/src/Facebook.php @@ -494,7 +494,7 @@ public function videoToUpload(string $pathToFile): Video * @param int $maxTransferTries the max times to retry a failed upload chunk * @param string|null $graphVersion the Graph API version to use * - * @return array|array + * @return array{video_id: int, success: bool} * @throws SDKException|FilesystemException */ public function uploadVideo(