prototype-better-error-handling #873
Annotations
1 warning
|
PHP 8.4:
src/ErrorsWithPath.php#L30
Escaped Mutant for Mutator "PublicVisibility":
@@ @@
$this->addError($error);
}
}
- public function addError(Error|ErrorWithPath|self $error): self
+ protected function addError(Error|ErrorWithPath|self $error): self
{
if ($error instanceof self) {
foreach ($error->errorsWithPath as $errorWithPath) {
|