diff --git a/CHANGELOG.md b/CHANGELOG.md index 37f556e5..a73715bf 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.0...HEAD) + +## [3.1.0] + +### Added +- contacts->addSecondaryEmail() +- contacts->deleteSecondaryEmail() ## [3.0.1] diff --git a/composer.json b/composer.json index eae0b010..f57abe6c 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "hubspot/hubspot-php", - "version": "3.0.1", + "version": "3.1.0", "description": "HubSpot PHP API client", "keywords": [ "hubspot", "api" ], "license": "Apache-2.0", 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