Skip to content

Commit

Permalink
Merge pull request #352 from HubSpot/feature/csfix
Browse files Browse the repository at this point in the history
cs fix
  • Loading branch information
ksvirkou-hubspot authored Jul 2, 2021
2 parents 3d8a3bd + ac54a7c commit 87dcd27
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 4 additions & 2 deletions src/Resources/Contacts.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 87dcd27

Please sign in to comment.