| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | 6 | public function appendRelationships(array $relationships) |
|
| 24 | { |
||
| 25 | 6 | return $this->each( |
|
| 26 | /** |
||
| 27 | * @param \VGirol\JsonApiFaker\Laravel\Contract\ResourceObjectContract $resFactory |
||
| 28 | * |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | 6 | function ($resFactory) use ($relationships) { |
|
| 32 | 3 | $resFactory->appendRelationships($relationships); |
|
| 33 | 6 | } |
|
| 64 |