From d79c35ed3110d0cabdd6457ba8ba0b376c11ae14 Mon Sep 17 00:00:00 2001 From: ariaieboy Date: Tue, 14 Jan 2025 19:49:01 +0330 Subject: [PATCH] convert self to static --- src/Request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Request.php b/src/Request.php index f07b2ee..33f4314 100644 --- a/src/Request.php +++ b/src/Request.php @@ -114,7 +114,7 @@ protected function parseHeaders(string $headers): array */ public function account(string $method, string $uri, string|array $parameters = [], array $headers = []): array { - return $this->send($method, self::ACCOUNT_URL . $uri, $parameters, $headers); + return $this->send($method, static::ACCOUNT_URL . $uri, $parameters, $headers); } /** @@ -136,7 +136,7 @@ public function account(string $method, string $uri, string|array $parameters = */ public function api(string $method, string $uri, string|array $parameters = [], array $headers = []): array { - return $this->send($method, self::API_URL . $uri, $parameters, $headers); + return $this->send($method, static::API_URL . $uri, $parameters, $headers); } /**