Skip to content

Commit 42edbe9

Browse files
authored
Convert self to static in Request (#283)
1 parent 05bb47f commit 42edbe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Request.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ protected function parseHeaders(string $headers): array
114114
*/
115115
public function account(string $method, string $uri, string|array $parameters = [], array $headers = []): array
116116
{
117-
return $this->send($method, self::ACCOUNT_URL . $uri, $parameters, $headers);
117+
return $this->send($method, static::ACCOUNT_URL . $uri, $parameters, $headers);
118118
}
119119

120120
/**
@@ -136,7 +136,7 @@ public function account(string $method, string $uri, string|array $parameters =
136136
*/
137137
public function api(string $method, string $uri, string|array $parameters = [], array $headers = []): array
138138
{
139-
return $this->send($method, self::API_URL . $uri, $parameters, $headers);
139+
return $this->send($method, static::API_URL . $uri, $parameters, $headers);
140140
}
141141

142142
/**

0 commit comments

Comments
 (0)