-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrong typing of the Grant Token endpoint
- Loading branch information
Showing
2 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -237,18 +237,18 @@ public function buildPath() | |
} | ||
|
||
/** | ||
* @return PNAccessManagerGrantResult | ||
* @return string | ||
*/ | ||
public function sync(): PNAccessManagerGrantResult | ||
public function sync(): string | ||
{ | ||
return parent::sync(); | ||
} | ||
|
||
/** | ||
* @param string $token | ||
* @return : PNAccessManagerGrantResult | ||
* @return : string | ||
*/ | ||
public function createResponse($response): PNAccessManagerGrantResult | ||
public function createResponse($response): string | ||
Check failure on line 251 in src/PubNub/Endpoints/Access/GrantToken.php GitHub Actions / Lint project
|
||
{ | ||
return $response['data']['token']; | ||
} | ||
|