| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | public function getAttributes($model, array $fields = null) { |
||
|
1 ignored issue
–
show
|
|||
| 13 | return [ |
||
| 14 | 'id' => $model->Id(), |
||
| 15 | 'parent_id' => $model->ParentId(), |
||
| 16 | 'numeric' => $model->Numeric(), |
||
| 17 | 'name' => $model->Name(), |
||
| 18 | ]; |
||
| 19 | } |
||
| 20 | |||
| 56 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.