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