Skip to content

Commit a47b547

Browse files
committed
Minor syntax change for PHP 5.6 compatibility.
We on't be doing this for long, but just helping people switch over for now.
1 parent fbb4520 commit a47b547

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Message/AcceptNotification.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ public function getTransactionReference()
102102
{
103103
$this->assertSignature();
104104

105-
if ($this->getEventTarget() === $this->getParsedData()::EVENT_TARGET_PAYMENT) {
105+
$parsedData = $this->getParsedData();
106+
107+
if ($this->getEventTarget() === $parsedData::EVENT_TARGET_PAYMENT) {
106108
return $this->getPayload()->getTransId();
107109
}
108110
}

0 commit comments

Comments
 (0)