From 8223c3f26b152b083742cbe39541210e21eec1fc Mon Sep 17 00:00:00 2001 From: Garethp Date: Tue, 25 Aug 2015 10:34:45 +0200 Subject: [PATCH] Added a constructor for ItemIdType --- CHANGELOG.md | 3 +++ src/API/Type/ItemIdType.php | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84d3137d..b367171e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.5.2 - 2015-08-24 + * Added a constructor for ItemIdType + ## 0.5.1 - 2015-08-24 * Added an example for sending mail diff --git a/src/API/Type/ItemIdType.php b/src/API/Type/ItemIdType.php index edc3d96f..94d5c045 100644 --- a/src/API/Type/ItemIdType.php +++ b/src/API/Type/ItemIdType.php @@ -16,6 +16,12 @@ class ItemIdType extends BaseItemIdType { + public function __construct($id, $changeKey) + { + $this->id = $id; + $this->changeKey = $changeKey; + } + /** * @var string */