Skip to content

Commit

Permalink
Merge pull request #16 from NaokiTsuchiya/fix-codecoverage-ignore
Browse files Browse the repository at this point in the history
Fix codeCoverageIgnore
  • Loading branch information
koriym committed Feb 1, 2023
2 parents 2cc7271 + 863dea1 commit 65625a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/RedisProvider.php
Expand Up @@ -43,9 +43,7 @@ public function get(): Redis
}

if (! $connected) {
// @codeCoverageIgnoreStart
throw new RedisConnectionException(sprintf('%s:%s', $host, $port));
// @codeCoverageIgnoreStart
throw new RedisConnectionException(sprintf('%s:%s', $host, $port)); // @codeCoverageIgnore
}

return $redis;
Expand Down

0 comments on commit 65625a3

Please sign in to comment.