Skip to content

Commit

Permalink
Add the throws definition
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhj committed Feb 7, 2018
1 parent 526f2b9 commit 1cd7981
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Provider/Newsletter2Go.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ protected function getAccessTokenOptions(array $params)
return $options;
}

/**
/** @noinspection PhpDocRedundantThrowsInspection
*
* Requests an access token using a specified grant and option set.
*
* Alter the grant_type as Newsletter2Go has it owns.
Expand All @@ -176,6 +177,8 @@ protected function getAccessTokenOptions(array $params)
* @param array $options
*
* @return AccessToken
*
* @throws IdentityProviderException
*/
public function getAccessToken($grant, array $options = [])
{
Expand Down

0 comments on commit 1cd7981

Please sign in to comment.