From 67b0ff1494c0dca5fe83a056ab1adda72df86840 Mon Sep 17 00:00:00 2001 From: Danack Date: Mon, 10 Nov 2014 14:20:38 +0000 Subject: [PATCH] Fixed incorrect exception name. --- lib/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Client.php b/lib/Client.php index 6918357..b1e8610 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -117,7 +117,7 @@ class Client { // Defer UDP server connect until needed to allow custom address/port option assignment // after object instantiation. if (empty($this->socket) && !$this->connect()) { - return new Failure(new ResolverException( + return new Failure(new ResolutionException( sprintf( "Failed connecting to DNS server at %s:%d", $this->serverAddress,