Fix docs (#105) #316
Annotations
2 warnings
mutation / PHP 8.1-ubuntu-latest:
src/Provider/Provider.php#L32
Escaped Mutant for Mutator "UnwrapArrayValues":
--- Original
+++ New
@@ @@
{
yield from $this->listeners->getForEvents($event::class);
/** @psalm-suppress MixedArgument */
- yield from $this->listeners->getForEvents(...array_values(class_parents($event)));
+ yield from $this->listeners->getForEvents(...class_parents($event));
/** @psalm-suppress MixedArgument */
yield from $this->listeners->getForEvents(...array_values(class_implements($event)));
}
}
|
mutation / PHP 8.1-ubuntu-latest:
src/Provider/Provider.php#L34
Escaped Mutant for Mutator "UnwrapArrayValues":
--- Original
+++ New
@@ @@
/** @psalm-suppress MixedArgument */
yield from $this->listeners->getForEvents(...array_values(class_parents($event)));
/** @psalm-suppress MixedArgument */
- yield from $this->listeners->getForEvents(...array_values(class_implements($event)));
+ yield from $this->listeners->getForEvents(...class_implements($event));
}
}
|