Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Dec 6, 2022
1 parent e64cf8b commit 6716b1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Message/DirectPostAbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public function generateFingerprint(array $data)

if ($this->getHasEMV3DSEnabled()) {
$hashable = array_merge(
$hashable, [$data['EPS_ORDERID']]
$hashable,
[$data['EPS_ORDERID']]
);
}

Expand Down
6 changes: 4 additions & 2 deletions src/Message/DirectPostWebhookRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function vefiyFingerPrint($fingerprint)
$data = $this->data;

if ($fingerprint !== $this->generateResponseFingerprint($data)) {
$data['restext'] = $data['restext'] . ', Invalid fingerprint.';
$data['restext'] = $data['restext'].', Invalid fingerprint.';
$data['summarycode'] = 3;
}

Expand All @@ -44,5 +44,7 @@ public function getData()
return $this->data;
}

public function sendData($data){}
public function sendData($data)
{
}
}

0 comments on commit 6716b1a

Please sign in to comment.