From 56e5597ad5a0eb453f54482e563b096d48cf2b76 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 7 Jan 2017 18:36:42 +0200 Subject: [PATCH] Fix undefined _data attribute. Replaced with function which gives access to the raw json response --- src/iTunes/PurchaseItem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iTunes/PurchaseItem.php b/src/iTunes/PurchaseItem.php index f149cad..9cd1817 100644 --- a/src/iTunes/PurchaseItem.php +++ b/src/iTunes/PurchaseItem.php @@ -80,9 +80,9 @@ class PurchaseItem /** * @return array */ - public function getData() + public function getRawResponse() { - return $this->_data; + return $this->_response; } /**