| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 51 | public function transform(Scope $scope, string $identifier = null) |
||
| 52 | { |
||
| 53 | $childScope = $scope->childScope($identifier); |
||
| 54 | |||
| 55 | $resource = $this->createResource( |
||
| 56 | $childScope |
||
| 57 | ); |
||
| 58 | |||
| 59 | return $resource->transform( |
||
| 60 | $this->transformer, |
||
| 61 | $this->getData( |
||
| 62 | $childScope |
||
| 63 | ) |
||
| 64 | ); |
||
| 65 | } |
||
| 66 | |||
| 95 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.