Skip to content

Commit e4ca2d5

Browse files
author
Maksim Rafalko
committed
removed unneccessary check of variable
1 parent dc79ff2 commit e4ca2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Omnipay/NetBanx/Message/AuthorizeRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function getData()
3737
{
3838
if ($this->getTransactionReference()) {
3939
$this->txnMode = $this->getStoredDataMode();
40-
$this->validate('amount', 'transactionReference');
40+
$this->validate('amount');
4141
} else {
4242
$this->txnMode = $this->getBasicMode();
4343
$this->validate('amount', 'card');

0 commit comments

Comments
 (0)