diff --git a/src/Requests/BaseRequest.php b/src/Requests/BaseRequest.php index 90ea989..647855e 100644 --- a/src/Requests/BaseRequest.php +++ b/src/Requests/BaseRequest.php @@ -20,6 +20,7 @@ namespace CashierProvider\Tinkoff\QrCode\Requests; use CashierProvider\Core\Http\Request; +use CashierProvider\Core\Support\URI; use CashierProvider\Tinkoff\Auth\Auth; abstract class BaseRequest extends Request @@ -36,8 +37,8 @@ public function getRawHeaders(): array ]; } - protected function getHost(): string + protected function getUriBuilder(): URI { - return $this->host; + return URI::make($this->host, null); } }