| Total Complexity | 8 |
| Total Lines | 54 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class IntegerSetArrayImplementation |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param int $m |
||
| 11 | * @param array<int> ...$sets |
||
| 12 | * |
||
| 13 | * @return array<int> |
||
| 14 | */ |
||
| 15 | 31 | public static function partialIntersection(int $m, array ...$sets): array |
|
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Symmetric difference of multiple sets. |
||
| 51 | * |
||
| 52 | * @param array<int> ...$sets |
||
| 53 | * @return array |
||
| 54 | */ |
||
| 55 | 1 | public static function symmetricDifference(array ...$sets): array |
|
| 63 |