Skip to content

Commit

Permalink
Added a constructor for ItemIdType
Browse files Browse the repository at this point in the history
  • Loading branch information
Garethp committed Aug 25, 2015
1 parent 74b019d commit 8223c3f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 6 additions & 0 deletions src/API/Type/ItemIdType.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
class ItemIdType extends BaseItemIdType
{

public function __construct($id, $changeKey)
{
$this->id = $id;
$this->changeKey = $changeKey;
}

/**
* @var string
*/
Expand Down

0 comments on commit 8223c3f

Please sign in to comment.