chevere 4.0 #4
Annotations
3 warnings
src/Action.php#L54
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public final function getResponse(mixed ...$argument) : CastInterface
{
static::assert();
- $this->assertRuntime();
+
$arguments = arguments($this->parameters(), $argument)->toArray();
$run = $this->run(...$arguments);
try {
|
src/Action.php#L73
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
}
return new Cast($run);
}
- public static function assertTypes(ReflectionNamedType $reflection, ParameterInterface $response) : void
+ protected static function assertTypes(ReflectionNamedType $reflection, ParameterInterface $response) : void
{
$returnName = $reflection->getName();
$expectName = $response->type()->typeHinting();
|
src/Action.php#L106
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
throw new TypeError((string) message('Method `%method%` must declare `%type%` return type', method: static::runMethodFQN(), type: implode('|', $expect)));
}
}
- protected static function assertMethod() : void
+ private static function assertMethod() : void
{
if (!method_exists(static::class, static::RUN_METHOD)) {
throw new LogicException((string) message('Action `%action%` does not define %invoke% method', action: static::class, invoke: static::RUN_METHOD));
|
The logs for this run have expired and are no longer available.
Loading