@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | * @param mixed $timestamp |
| 18 | 18 | * @param array $eventTypeData |
| 19 | 19 | * |
| 20 | - * @return mixed |
|
| 20 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 21 | 21 | * |
| 22 | 22 | * @see http://developers.hubspot.com/docs/methods/timeline/create-or-update-event |
| 23 | 23 | */ |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | * @param int $appId |
| 54 | 54 | * @param array $events |
| 55 | 55 | * |
| 56 | - * @return mixed |
|
| 56 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 57 | 57 | * |
| 58 | 58 | * @see https://developers.hubspot.com/docs/methods/timeline/batch-create-or-update-events |
| 59 | 59 | */ |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * |
| 72 | 72 | * @param int $appId |
| 73 | 73 | * |
| 74 | - * @return mixed |
|
| 74 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 75 | 75 | * |
| 76 | 76 | * @see http://developers.hubspot.com/docs/methods/timeline/get-event-types |
| 77 | 77 | */ |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | * @param string|null $detailTemplate |
| 91 | 91 | * @param string|null $objectType |
| 92 | 92 | * |
| 93 | - * @return mixed |
|
| 93 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 94 | 94 | * |
| 95 | 95 | * @see http://developers.hubspot.com/docs/methods/timeline/create-event-type |
| 96 | 96 | */ |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | * @param string|null $detailTemplate |
| 125 | 125 | * @param string|null $objectType |
| 126 | 126 | * |
| 127 | - * @return mixed |
|
| 127 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 128 | 128 | * |
| 129 | 129 | * @see http://developers.hubspot.com/docs/methods/timeline/update-event-type |
| 130 | 130 | */ |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | * @param int $appId |
| 156 | 156 | * @param int $eventTypeId |
| 157 | 157 | * |
| 158 | - * @return mixed |
|
| 158 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 159 | 159 | * |
| 160 | 160 | * @see http://developers.hubspot.com/docs/methods/timeline/delete-event-type |
| 161 | 161 | */ |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | * @param int $appId |
| 172 | 172 | * @param int $eventTypeId |
| 173 | 173 | * |
| 174 | - * @return mixed |
|
| 174 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 175 | 175 | * |
| 176 | 176 | * @see http://developers.hubspot.com/docs/methods/timeline/get-timeline-event-type-properties |
| 177 | 177 | */ |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | * @param string|null $objectProperty |
| 193 | 193 | * @param array $options |
| 194 | 194 | * |
| 195 | - * @return mixed |
|
| 195 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 196 | 196 | * |
| 197 | 197 | * @see http://developers.hubspot.com/docs/methods/timeline/create-timeline-event-type-property |
| 198 | 198 | */ |
@@ -229,7 +229,7 @@ discard block |
||
| 229 | 229 | * @param string $propertyType |
| 230 | 230 | * @param array|null $options |
| 231 | 231 | * |
| 232 | - * @return mixed |
|
| 232 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 233 | 233 | * |
| 234 | 234 | * @see http://developers.hubspot.com/docs/methods/timeline/udpate-timeline-event-type-property |
| 235 | 235 | */ |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | * @param int $eventTypeId |
| 266 | 266 | * @param int $eventTypePropertyId |
| 267 | 267 | * |
| 268 | - * @return mixed |
|
| 268 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 269 | 269 | * |
| 270 | 270 | * @see http://developers.hubspot.com/docs/methods/timeline/delete-timeline-event-type-property |
| 271 | 271 | */ |
@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | { |
| 8 | 8 | /** |
| 9 | 9 | * @param array $deal Array of deal properties. |
| 10 | - * @return mixed |
|
| 10 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 11 | 11 | * @throws HubSpotException |
| 12 | 12 | */ |
| 13 | 13 | function create(array $deal) |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * @param int $id The deal id. |
| 24 | 24 | * @param array $deal The deal properties to update. |
| 25 | - * @return mixed |
|
| 25 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 26 | 26 | */ |
| 27 | 27 | function update($id, array $deal) |
| 28 | 28 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * @param int $id |
| 53 | - * @return mixed |
|
| 53 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 54 | 54 | */ |
| 55 | 55 | function delete($id) |
| 56 | 56 | { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | 63 | * @param array $params Optional parameters ['limit', 'offset'] |
| 64 | - * @return mixed |
|
| 64 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 65 | 65 | */ |
| 66 | 66 | function getRecentlyModified(array $params = []) |
| 67 | 67 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | 75 | * @param array $params Optional parameters ['limit', 'offset'] |
| 76 | - * @return mixed |
|
| 76 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 77 | 77 | */ |
| 78 | 78 | function getRecentlyCreated(array $params = []) |
| 79 | 79 | { |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | 87 | * @param int $id |
| 88 | - * @return mixed |
|
| 88 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 89 | 89 | */ |
| 90 | 90 | function getById($id) |
| 91 | 91 | { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | /** |
| 98 | 98 | * @param int $dealId |
| 99 | 99 | * @param int|int[] $companyIds |
| 100 | - * @return mixed |
|
| 100 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 101 | 101 | */ |
| 102 | 102 | function associateWithCompany($dealId, $companyIds) |
| 103 | 103 | { |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | /** |
| 112 | 112 | * @param int $dealId |
| 113 | 113 | * @param int|int[] $companyIds |
| 114 | - * @return mixed |
|
| 114 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 115 | 115 | */ |
| 116 | 116 | function disassociateFromCompany($dealId, $companyIds) |
| 117 | 117 | { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | /** |
| 126 | 126 | * @param int $dealId |
| 127 | 127 | * @param int|int[] $contactIds |
| 128 | - * @return mixed |
|
| 128 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 129 | 129 | */ |
| 130 | 130 | function associateWithContact($dealId, $contactIds) |
| 131 | 131 | { |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | /** |
| 140 | 140 | * @param int $contactId |
| 141 | 141 | * @param array $params Optional parameters ['limit', 'offset'] |
| 142 | - * @return mixed |
|
| 142 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 143 | 143 | */ |
| 144 | 144 | function associatedWithContact($contactId, $params = []) |
| 145 | 145 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | /** |
| 154 | 154 | * @param int $dealId |
| 155 | 155 | * @param int|int[] $contactIds |
| 156 | - * @return mixed |
|
| 156 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 157 | 157 | */ |
| 158 | 158 | function disassociateFromContact($dealId, $contactIds) |
| 159 | 159 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * @param string $clientId The Client ID of your app. |
| 13 | 13 | * @param string $redirectURI The URL that you want the visitor redirected to after granting access to your app. For security reasons, this URL must use https. |
| 14 | 14 | * @param array $scopesArray A set of scopes that your app will need access to. |
| 15 | - * @return \SevenShores\Hubspot\Http\Response |
|
| 15 | + * @return string |
|
| 16 | 16 | */ |
| 17 | 17 | function getAuthUrl($clientId, $redirectURI, $scopesArray=array()) |
| 18 | 18 | { |
@@ -5,11 +5,10 @@ discard block |
||
| 5 | 5 | class CrmAssociations extends Resource |
| 6 | 6 | { |
| 7 | 7 | /** |
| 8 | - * @param array $ticket Array of deal properties. |
|
| 9 | 8 | * |
| 10 | 9 | * @throws \SevenShores\Hubspot\Exceptions\BadRequest |
| 11 | 10 | * |
| 12 | - * @return mixed |
|
| 11 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 13 | 12 | */ |
| 14 | 13 | public function create(array $data) |
| 15 | 14 | { |
@@ -21,10 +20,8 @@ discard block |
||
| 21 | 20 | } |
| 22 | 21 | |
| 23 | 22 | /** |
| 24 | - * @param int $id The deal id. |
|
| 25 | - * @param array $ticket The deal properties to update. |
|
| 26 | 23 | * |
| 27 | - * @return mixed |
|
| 24 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 28 | 25 | */ |
| 29 | 26 | public function delete(array $data) |
| 30 | 27 | { |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * |
| 10 | 10 | * @throws \SevenShores\Hubspot\Exceptions\BadRequest |
| 11 | 11 | * |
| 12 | - * @return mixed |
|
| 12 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 13 | 13 | */ |
| 14 | 14 | public function create(array $ticket) |
| 15 | 15 | { |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | * @param int $id The deal id. |
| 25 | 25 | * @param array $ticket The deal properties to update. |
| 26 | 26 | * |
| 27 | - * @return mixed |
|
| 27 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 28 | 28 | */ |
| 29 | 29 | public function update($id, array $ticket) |
| 30 | 30 | { |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * @param int $id |
| 56 | 56 | * |
| 57 | - * @return mixed |
|
| 57 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 58 | 58 | */ |
| 59 | 59 | public function delete($id) |
| 60 | 60 | { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | /** |
| 67 | 67 | * @param int $id |
| 68 | 68 | * |
| 69 | - * @return mixed |
|
| 69 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 70 | 70 | */ |
| 71 | 71 | public function getById($id) |
| 72 | 72 | { |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | /** |
| 79 | 79 | * @param array $params Optional parameters ['timestamp', 'changeType', 'objectId'] |
| 80 | 80 | * |
| 81 | - * @return mixed |
|
| 81 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 82 | 82 | */ |
| 83 | 83 | public function getChangelog(array $params = []) |
| 84 | 84 | { |
@@ -129,7 +129,6 @@ |
||
| 129 | 129 | * |
| 130 | 130 | * @see https://developers.hubspot.com/docs/methods/analytics/check_for_analytics_data_existence |
| 131 | 131 | * |
| 132 | - * @param string $id |
|
| 133 | 132 | * @param array $params Array of optional parameters |
| 134 | 133 | * @return \SevenShores\Hubspot\Http\Response |
| 135 | 134 | */ |