Skip to content

Commit 23c99a3

Browse files
Following styleCI
1 parent 28f6eb9 commit 23c99a3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/Concerns/Parameters.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function setVnpTmnCode(?string $code)
5757
}
5858

5959
/**
60-
* Get the value of the hashSecret parameter
60+
* Trả về khóa dùng để tạo chữ ký dữ liệu.
6161
*
6262
* @return null|string
6363
*/
@@ -67,7 +67,7 @@ public function getVnpHashSecret(): ?string
6767
}
6868

6969
/**
70-
* Set the value of the hashSecret parameter
70+
* Thiết lập khóa dùng để tạo chữ ký dữ liệu.
7171
*
7272
* @param null|string $secret
7373
*

src/Message/AbstractSignatureRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function getData(): array
4949
call_user_func_array(
5050
[$this, 'validate'],
5151
$this->getSignatureParameters()
52-
);;
52+
);
5353

5454
$parameters = $this->getParameters();
5555
$parameters['vnp_SecureHash'] = $this->generateSignature(

src/Message/RefundRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ protected function getSignatureParameters(): array
141141
{
142142
return [
143143
'vnp_Version', 'vnp_Command', 'vnp_TmnCode', 'vnp_TxnRef', 'vnp_OrderInfo', 'vnp_Amount',
144-
'vnp_TransDate', 'vnp_TransactionType'
144+
'vnp_TransDate', 'vnp_TransactionType',
145145
];
146146
}
147147
}

tests/GatewayTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
use Omnipay\Omnipay;
1212
use Omnipay\Tests\GatewayTestCase;
1313
use Omnipay\VNPay\Message\PurchaseResponse;
14-
use Omnipay\Common\Message\RedirectResponseInterface;
1514
use Omnipay\Common\Exception\InvalidRequestException;
15+
use Omnipay\Common\Message\RedirectResponseInterface;
1616
use Omnipay\Common\Exception\InvalidResponseException;
1717

1818
/**

0 commit comments

Comments
 (0)