Skip to content

Commit b0c5e17

Browse files
authored
Fix type hint
1 parent 6b4ed24 commit b0c5e17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapter/Zarinpal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ protected function verifyTransaction(): bool
147147

148148
if ($response->Status == 100) {
149149
$this->getTransaction()->setVerified();
150-
$this->getTransaction()->setReferenceId($response->RefID); // update transaction reference id
150+
$this->getTransaction()->setReferenceId((string)$response->RefID); // update transaction reference id
151151

152152
return true;
153153
} else {

0 commit comments

Comments
 (0)