|
@@ -90,7 +90,7 @@ discard block |
|
|
block discarded – undo |
|
90
|
90
|
*/ |
|
91
|
91
|
public function buildUrl(string $method = '', string $params = '', bool $append = true): string |
|
92
|
92
|
{ |
|
93
|
|
- return $this->baseUrl . 'api/' . $method . ($append ? '?' . $this->buildQs($method, $params) : ''); |
|
|
93
|
+ return $this->baseUrl.'api/'.$method.($append ? '?'.$this->buildQs($method, $params) : ''); |
|
94
|
94
|
} |
|
95
|
95
|
|
|
96
|
96
|
/** |
|
@@ -100,7 +100,7 @@ discard block |
|
|
block discarded – undo |
|
100
|
100
|
*/ |
|
101
|
101
|
public function buildQs(string $method = '', string $params = ''): string |
|
102
|
102
|
{ |
|
103
|
|
- return $params . '&checksum=' . hash($this->hashingAlgorithm, $method . $params . $this->secret); |
|
|
103
|
+ return $params.'&checksum='.hash($this->hashingAlgorithm, $method.$params.$this->secret); |
|
104
|
104
|
} |
|
105
|
105
|
|
|
106
|
106
|
// URL-Generators |
Please login to merge, or discard this patch.