| 1 | <?php |
||
| 9 | class OAuth2Controller |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var AuthorizationServer |
||
| 13 | */ |
||
| 14 | private $authorizationServer; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param AuthorizationServer $authorizationServer |
||
| 18 | */ |
||
| 19 | public function __construct(AuthorizationServer $authorizationServer) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param Request $request |
||
| 26 | * |
||
| 27 | * @return array like |
||
| 28 | * access_token:"...", |
||
| 29 | * token_type:"Bearer" |
||
| 30 | * expires_in:3600 |
||
| 31 | * refresh_token:"..." |
||
| 32 | * |
||
| 33 | * @throws OAuthException |
||
| 34 | */ |
||
| 35 | public function postAccessToken(Request $request) |
||
| 41 | } |
||
| 42 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.