Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | trait Merge |
||
14 | { |
||
15 | /** |
||
16 | * Merge arrays. |
||
17 | * |
||
18 | * Merge the elements of one array with the elements of the array in the Chain. |
||
19 | * |
||
20 | * @param Chain|array $array Array to merge with |
||
21 | * @param array $options options, including `recursive` to merge arrays recursive |
||
22 | * |
||
23 | * @return self |
||
24 | */ |
||
25 | 4 | public function merge($array, array $options = []): self |
|
38 |