| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | trait Combine |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Creates an Chain by using one Chain for keys and another for its values. |
||
| 16 | * |
||
| 17 | * @param Chain|array $keys Array or instance of `Cocur\Chain\Chain` of keys to be used. Illegal values for key |
||
| 18 | * will be converted to string. |
||
| 19 | * @param Chain|array $values array or instance of `Cocur\Chain\Chain` of values to be used |
||
| 20 | * |
||
| 21 | * @return self |
||
| 22 | */ |
||
| 23 | 2 | public function combine($keys, $values): self |
|
| 33 |