1 | <?php |
||
11 | class ErrorToExceptionFilter extends \yii\base\Behavior |
||
12 | { |
||
13 | /** |
||
14 | * @inheritdoc |
||
15 | */ |
||
16 | public function events() |
||
20 | |||
21 | /** |
||
22 | * @param ActionEvent $event |
||
23 | * @return boolean |
||
24 | * @throws HttpException when the request method is not allowed. |
||
25 | */ |
||
26 | public function afterAction($event) |
||
42 | |||
43 | protected function getErrorMessage(\OAuth2\Response $response) |
||
54 | } |
||
55 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.