Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function bootstrap($app) |
||
14 | { |
||
15 | Event::on(Response::class, Response::EVENT_BEFORE_SEND, function ($event) { |
||
16 | \Yii::createObject(LoggerBehavior::class)->beforeSend($event); |
||
17 | }); |
||
18 | |||
19 | Event::on(Controller::class, Controller::EVENT_BEFORE_ACTION, function ($event) { |
||
|
|||
20 | \Yii::createObject(LoggerBehavior::class)->beforeAction(); |
||
21 | }); |
||
24 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.