Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit d31d97e

Browse files
author
Jens Schulze
committed
Merge branch 'hotfix/v1.5.1'
2 parents 4c8358d + e2a2635 commit d31d97e

File tree

8 files changed

+23
-17
lines changed

8 files changed

+23
-17
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="1.5.1"></a>
2+
## [1.5.1](https://github.com/commercetools/commercetools-php-sdk/compare/v1.5.0...v1.5.1) (2016-11-21)
3+
4+
5+
### Bug Fixes
6+
7+
* **Subscription:** fix typo in subscription delivery model ([5e1761b](https://github.com/commercetools/commercetools-php-sdk/commit/5e1761b))
8+
9+
10+
111
<a name="1.5.0"></a>
212
# [1.5.0](https://github.com/commercetools/commercetools-php-sdk/compare/v1.3.1...v1.5.0) (2016-11-17)
313

src/AbstractHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515
abstract class AbstractHttpClient
1616
{
17-
const VERSION = '1.5.0';
17+
const VERSION = '1.5.1';
1818

1919
/**
2020
* @var AdapterInterface

src/Model/Subscription/Delivery.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* @method Delivery setProjectKey(string $projectKey = null)
1616
* @method string getNotificationType()
1717
* @method Delivery setNotificationType(string $notificationType = null)
18-
* @method Reference getReference()
19-
* @method Delivery setReference(Reference $reference = null)
18+
* @method Reference getResource()
19+
* @method Delivery setResource(Reference $resource = null)
2020
*/
2121
class Delivery extends JsonObject
2222
{
@@ -31,7 +31,7 @@ public function fieldDefinitions()
3131
return [
3232
'projectKey' => [static::TYPE => 'string'],
3333
static::NOTIFICATION_TYPE => [static::TYPE => 'string'],
34-
'reference' => [static::TYPE => '\Commercetools\Core\Model\Common\Reference'],
34+
'resource' => [static::TYPE => '\Commercetools\Core\Model\Common\Reference'],
3535
];
3636
}
3737

src/Model/Subscription/MessageDelivery.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010

1111
/**
1212
* @package Commercetools\Core\Model\Subscription
13-
*
1413
* @method string getProjectKey()
1514
* @method MessageDelivery setProjectKey(string $projectKey = null)
1615
* @method string getNotificationType()
1716
* @method MessageDelivery setNotificationType(string $notificationType = null)
18-
* @method Reference getReference()
19-
* @method MessageDelivery setReference(Reference $reference = null)
17+
* @method Reference getResource()
18+
* @method MessageDelivery setResource(Reference $resource = null)
2019
* @method string getId()
2120
* @method MessageDelivery setId(string $id = null)
2221
* @method int getVersion()

src/Model/Subscription/ResourceCreatedDelivery.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
99

1010
/**
1111
* @package Commercetools\Core\Model\Subscription
12-
*
1312
* @method string getProjectKey()
1413
* @method ResourceCreatedDelivery setProjectKey(string $projectKey = null)
1514
* @method string getNotificationType()
1615
* @method ResourceCreatedDelivery setNotificationType(string $notificationType = null)
17-
* @method Reference getReference()
18-
* @method ResourceCreatedDelivery setReference(Reference $reference = null)
16+
* @method Reference getResource()
17+
* @method ResourceCreatedDelivery setResource(Reference $resource = null)
1918
* @method int getVersion()
2019
* @method ResourceCreatedDelivery setVersion(int $version = null)
2120
*/

src/Model/Subscription/ResourceDeletedDelivery.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
99

1010
/**
1111
* @package Commercetools\Core\Model\Subscription
12-
*
1312
* @method string getProjectKey()
1413
* @method ResourceDeletedDelivery setProjectKey(string $projectKey = null)
1514
* @method string getNotificationType()
1615
* @method ResourceDeletedDelivery setNotificationType(string $notificationType = null)
17-
* @method Reference getReference()
18-
* @method ResourceDeletedDelivery setReference(Reference $reference = null)
16+
* @method Reference getResource()
17+
* @method ResourceDeletedDelivery setResource(Reference $resource = null)
1918
* @method int getVersion()
2019
* @method ResourceDeletedDelivery setVersion(int $version = null)
2120
*/

src/Model/Subscription/ResourceUpdatedDelivery.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
99

1010
/**
1111
* @package Commercetools\Core\Model\Subscription
12-
*
1312
* @method string getProjectKey()
1413
* @method ResourceUpdatedDelivery setProjectKey(string $projectKey = null)
1514
* @method string getNotificationType()
1615
* @method ResourceUpdatedDelivery setNotificationType(string $notificationType = null)
17-
* @method Reference getReference()
18-
* @method ResourceUpdatedDelivery setReference(Reference $reference = null)
16+
* @method Reference getResource()
17+
* @method ResourceUpdatedDelivery setResource(Reference $resource = null)
1918
* @method int getVersion()
2019
* @method ResourceUpdatedDelivery setVersion(int $version = null)
2120
* @method int getOldVersion()

tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commercetools-php-sdk-changelog",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"description": "commercetools PHP SDK changelog generator package description",
55
"homepage": "https://github.com/commercetools/commercetools-php-sdk",
66
"bugs": "https://github.com/commercetools/commercetools-php-sdk/issues",

0 commit comments

Comments
 (0)