Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | trait IsConcatenable |
||
8 | { |
||
9 | /** |
||
10 | * Append the relation's through parents, foreign and local keys to a deep relationship. |
||
11 | * |
||
12 | * @param \Illuminate\Database\Eloquent\Model[] $through |
||
13 | * @param array $foreignKeys |
||
14 | * @param array $localKeys |
||
15 | * @param int $position |
||
16 | * @return array |
||
17 | */ |
||
18 | 6 | public function appendToDeepRelationship(array $through, array $foreignKeys, array $localKeys, int $position): array |
|
41 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.