Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | protected function addMethods(PhpClass $class, ActionSchema $action) { |
||
1 ignored issue
–
show
|
|||
10 | // method: run(Request $request, $data = null) |
||
1 ignored issue
–
show
|
|||
11 | $class->addUseStatement('Tobscure\\JsonApi\\Resource'); |
||
12 | $class->addUseStatement('Tobscure\\JsonApi\\Document'); |
||
13 | $class->setMethod($this->generateRunMethod($this->twig->render('skeleton-run.twig'))); |
||
14 | } |
||
15 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.