Ignore Coverage in ConnectionFail

This commit is contained in:
2021-01-24 18:49:39 +03:00
parent caa1bab9b5
commit f0b8ad1373

View File

@ -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);