Fix styling

This commit is contained in:
mahdimsr authored and github-actions[bot] committed 2025-09-28 21:02:08 +00:00
1 parent 38114203a1
commit 526ef64ad8
10 files changed
+151 -154

No files matched your search

+2 -2
View File
@@ -33,7 +33,7 @@ class Header
$result = '';
foreach ($sortedParameters as $key => $value) {
$result .= $key . $value;
$result .= $key.$value;
}
return $result;
@@ -82,7 +82,7 @@ class Header
// Step 3: Create digest: SHA256(nonce + timestamp + api-key + queryParams + body (if not empty))
if (strlen($bodyString) == 0) {
$digestInput = $nonce.$timestamp.$apiKey.$queryParamsString;
}else{
} else {
$digestInput = $nonce.$timestamp.$apiKey.$queryParamsString.$bodyString;
}
$digest = hash('sha256', $digestInput);