diff --git a/.travis.yml b/.travis.yml index 2cef587..f38ffcf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,13 +4,18 @@ matrix: include: - php: 5.3 dist: precise + - php: 5.4 + dist: trusty + - php: 5.5 + dist: trusty php: - - 5.4 - - 5.5 - 5.6 - 7.0 - 7.1 + - 7.2 + - 7.3 + - 7.4snapshot install: - composer install diff --git a/lib/PayPal/Core/PPXmlFaultMessage.php b/lib/PayPal/Core/PPXmlFaultMessage.php index fd1a056..2391f5b 100644 --- a/lib/PayPal/Core/PPXmlFaultMessage.php +++ b/lib/PayPal/Core/PPXmlFaultMessage.php @@ -31,7 +31,7 @@ public function init(array $data = array()) } if (($first = reset($map)) && !is_array($first) && !is_numeric(key($map))) { - parent::init($map, false); + self::init($map); return; } diff --git a/lib/PayPal/Core/PPXmlMessage.php b/lib/PayPal/Core/PPXmlMessage.php index 2c4c355..92b4cf7 100644 --- a/lib/PayPal/Core/PPXmlMessage.php +++ b/lib/PayPal/Core/PPXmlMessage.php @@ -121,7 +121,7 @@ public function init(array $map = array(), $isRoot = true) } if (($first = reset($map)) && !is_array($first) && !is_numeric(key($map))) { - parent::init($map, false); + self::init($map, false); return; }