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 */