Skip to content

Commit

Permalink
Better PHPDoc Annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-janu committed May 10, 2022
1 parent 7ef6197 commit d26d3e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Authentication/OAuth2Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ protected function sendRequestWithClientParams(

/**
* Returns the client_* params for OAuth requests.
* @return array<string, string>
* @return array{client_id: string, client_secret: string}
*/
protected function getClientParams(): array
{
Expand Down
2 changes: 1 addition & 1 deletion src/Facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, bool>|array<string, int>
* @return array{video_id: int, success: bool}
* @throws SDKException|FilesystemException
*/
public function uploadVideo(
Expand Down

0 comments on commit d26d3e7

Please sign in to comment.