diff --git a/src/Config.php b/src/Config.php index a53be79..24ee19e 100644 --- a/src/Config.php +++ b/src/Config.php @@ -43,7 +43,7 @@ final class Config /** * @var bool */ - private $debug; + private $debug = false; /** * @var bool @@ -138,6 +138,7 @@ final class Config return $this->debug; } + /** * @return bool */ diff --git a/src/Handler.php b/src/Handler.php index 17206e7..3201f4d 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -185,7 +185,7 @@ final class Handler } } - if ($changes) { + if (true === $changes) { $recordSet = new Soap\Dnsrecordset(); $recordSet->dnsrecords = $infoHandle->responsedata->dnsrecords; diff --git a/src/Payload.php b/src/Payload.php index 09da2ed..2b9b197 100644 --- a/src/Payload.php +++ b/src/Payload.php @@ -36,7 +36,7 @@ final class Payload /** * @var string - */ + */ private $txt; /** @@ -127,7 +127,9 @@ final class Payload * works: nas.tld.de * works: tld.com * failed: nas.tld.co.uk - * failed: nas.home.tld.de + * failed: nas.home.tld.de ** see new below + * + * new: for explicit host / domain separation use "&host=nas.home&domain=tld.de" for the last example * * @return string */