From f0b8ad1373286001457525beec8a4b779a27d75a Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Sun, 24 Jan 2021 18:49:39 +0300 Subject: [PATCH] Ignore Coverage in ConnectionFail --- src/Exception/ConnectionFail.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Exception/ConnectionFail.php b/src/Exception/ConnectionFail.php index 40d2de3..d6add25 100644 --- a/src/Exception/ConnectionFail.php +++ b/src/Exception/ConnectionFail.php @@ -9,6 +9,9 @@ use Throwable; final class ConnectionFail extends RuntimeException implements NsqException { + /** + * @codeCoverageIgnore + */ public static function fromThrowable(Throwable $throwable): self { return new self($throwable->getMessage(), (int) $throwable->getCode(), $throwable);