@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | */ |
101 | 101 | public function buildUrl(string $method = '', string $params = '', bool $append = true): string |
102 | 102 | { |
103 | - return $this->serverBaseUrl . 'api/' . $method . ($append ? '?' . $this->buildQs($method, $params) : ''); |
|
103 | + return $this->serverBaseUrl.'api/'.$method.($append ? '?'.$this->buildQs($method, $params) : ''); |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | */ |
111 | 111 | public function buildQs(string $method = '', string $params = ''): string |
112 | 112 | { |
113 | - return $params . '&checksum=' . hash($this->hashingAlgorithm, $method . $params . $this->secret); |
|
113 | + return $params.'&checksum='.hash($this->hashingAlgorithm, $method.$params.$this->secret); |
|
114 | 114 | } |
115 | 115 | |
116 | 116 | // URL-Generators |