From 446e2201a57690c7a17153a6c72e76e4dacdf8de Mon Sep 17 00:00:00 2001 From: ksvirkou Date: Fri, 2 Jul 2021 15:35:20 +0300 Subject: [PATCH 1/3] cs fix --- src/Resources/Contacts.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Resources/Contacts.php b/src/Resources/Contacts.php index c241abff..4bd95a61 100644 --- a/src/Resources/Contacts.php +++ b/src/Resources/Contacts.php @@ -424,8 +424,9 @@ public function merge($id, $vidToMerge) } /** - * @param int $id + * @param int $id * @param string $emailToDelete + * * @return \SevenShores\Hubspot\Http\Response * * @see https://legacydocs.hubspot.com/docs/methods/contacts/delete-a-secondary-email-address @@ -443,8 +444,9 @@ public function deleteSecondaryEmail($id, $emailToDelete) } /** - * @param int $id + * @param int $id * @param string $emailToAdd + * * @return \SevenShores\Hubspot\Http\Response * * @see https://legacydocs.hubspot.com/docs/methods/contacts/add-a-secondary-email-address From ba3b3b62568b6eb6d31b78c62615b3b627760e9e Mon Sep 17 00:00:00 2001 From: ksvirkou Date: Fri, 2 Jul 2021 15:45:19 +0300 Subject: [PATCH 2/3] up version --- CHANGELOG.md | 8 +++++++- composer.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37f556e5..65258fa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,13 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased](https://github.com/HubSpot/hubspot-php/compare/v3.0.1...HEAD) +## [Unreleased](https://github.com/HubSpot/hubspot-php/compare/v3.1.1...HEAD) + +## [3.1.1] + +### Added +- contacts->addSecondaryEmail() +- contacts->deleteSecondaryEmail() ## [3.0.1] diff --git a/composer.json b/composer.json index eae0b010..8fd27f4c 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "hubspot/hubspot-php", - "version": "3.0.1", + "version": "3.1.1", "description": "HubSpot PHP API client", "keywords": [ "hubspot", "api" ], "license": "Apache-2.0", From 0c2bd375ef77fc1eb8635836179b81ff8fc019e2 Mon Sep 17 00:00:00 2001 From: ksvirkou Date: Fri, 2 Jul 2021 15:49:17 +0300 Subject: [PATCH 3/3] 3.1.1 --- CHANGELOG.md | 4 ++-- composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65258fa2..a73715bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased](https://github.com/HubSpot/hubspot-php/compare/v3.1.1...HEAD) +## [Unreleased](https://github.com/HubSpot/hubspot-php/compare/v3.1.0...HEAD) -## [3.1.1] +## [3.1.0] ### Added - contacts->addSecondaryEmail() diff --git a/composer.json b/composer.json index 8fd27f4c..f57abe6c 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "hubspot/hubspot-php", - "version": "3.1.1", + "version": "3.1.0", "description": "HubSpot PHP API client", "keywords": [ "hubspot", "api" ], "license": "Apache-2.0",