mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-08-30 12:07:59 +00:00
Polish
This commit is contained in:
@@ -15,7 +15,7 @@ class DNSGetRecordWrapper
|
||||
// A workaround to fix https://bugs.php.net/bug.php?id=73149
|
||||
set_error_handler(
|
||||
static function (int $errorLevel, string $errorMessage): never {
|
||||
throw new \RuntimeException("Unable to get DNS record for the host: $errorMessage");
|
||||
throw new \RuntimeException(sprintf('Unable to get DNS record for the host: %s', $errorMessage));
|
||||
}
|
||||
);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user