From 38f33eb584af74cf7e7f1ce7f92ad783bdc52be8 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 7 Apr 2024 02:19:54 +0300 Subject: [PATCH] update address method api (outside address init) --- src/Resolve.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Resolve.php b/src/Resolve.php index be90e33..b8d1747 100644 --- a/src/Resolve.php +++ b/src/Resolve.php @@ -127,15 +127,11 @@ class Resolve } public function address( - string $url, + \Yggverse\Net\Address $address, array &$result = [], array &$error = [] ): ?\Yggverse\Net\Address { - $address = new \Yggverse\Net\Address( - $url - ); - foreach ($this->_providers as $provider) { foreach (