feat(option): add Option::zip()
, Option::zipWith()
and Option::unzip()
methods
#606
Annotations
1 error and 1 warning
mutation tests (8.2, ubuntu-latest)
Process completed with exit code 2.
|
mutation tests (8.2, ubuntu-latest):
src/Psl/Option/Option.php#L373
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if (!is_array($this->option[0])) {
return [none(), none()];
}
- if (!array_key_exists(0, $this->option[0]) || !array_key_exists(1, $this->option[0])) {
+ if (!array_key_exists(1, $this->option[0]) || !array_key_exists(1, $this->option[0])) {
return [none(), none()];
}
[$a, $b] = $this->option[0];
|