Skip to content

Commit 334c811

Browse files
committed
Reversed PHP5.6 syntax fix - there are too many to make it worthwhile.
This is PHP 7.0+ only now.
1 parent a47b547 commit 334c811

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: php
22

33
php:
4-
- 5.6
54
- 7.0
65
- 7.1
76
- 7.2
7+
- 7.3
88

99
# This triggers builds to run on the new TravisCI infrastructure.
1010
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/

src/Message/AcceptNotification.php

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

105-
$parsedData = $this->getParsedData();
106-
107-
if ($this->getEventTarget() === $parsedData::EVENT_TARGET_PAYMENT) {
105+
if ($this->getEventTarget() === $this->getParsedData()::EVENT_TARGET_PAYMENT) {
108106
return $this->getPayload()->getTransId();
109107
}
110108
}

0 commit comments

Comments
 (0)