@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | /** |
| 83 | 83 | * Outputs the endpoint URL and request JSON in a human readable format |
| 84 | 84 | * |
| 85 | - * @return array list of event types |
|
| 85 | + * @return AuthnetWebhooksResponse list of event types |
|
| 86 | 86 | */ |
| 87 | 87 | public function getEventTypes() |
| 88 | 88 | {
|
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | * |
| 102 | 102 | * @throws \JohnConde\Authnet\AuthnetInvalidParameterException |
| 103 | 103 | * |
| 104 | - * @return array list of event types |
|
| 104 | + * @return AuthnetWebhooksResponse list of event types |
|
| 105 | 105 | */ |
| 106 | 106 | public function createWebhooks(Array $webhooks, $webhookUrl, $status = 'active') |
| 107 | 107 | {
|
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | /** |
| 136 | 136 | * List all of your webhooks |
| 137 | 137 | * |
| 138 | - * @return array list of event types |
|
| 138 | + * @return AuthnetWebhooksResponse list of event types |
|
| 139 | 139 | */ |
| 140 | 140 | public function getWebhooks() |
| 141 | 141 | {
|
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | * |
| 151 | 151 | * @param string $webhookId Webhook ID to be retrieved |
| 152 | 152 | * |
| 153 | - * @return array list of event types |
|
| 153 | + * @return AuthnetWebhooksResponse list of event types |
|
| 154 | 154 | */ |
| 155 | 155 | public function getWebhook($webhookId) |
| 156 | 156 | {
|
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | * |
| 171 | 171 | * @throws \JohnConde\Authnet\AuthnetInvalidParameterException |
| 172 | 172 | * |
| 173 | - * @return array list of event types |
|
| 173 | + * @return AuthnetWebhooksResponse list of event types |
|
| 174 | 174 | */ |
| 175 | 175 | public function updateWebhook($webhookId, $webhookUrl, Array $eventTypes, $status = 'active') |
| 176 | 176 | {
|
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | * @param integer $limit Default: 1000 |
| 207 | 207 | * @param integer $offset Default: 0 |
| 208 | 208 | * |
| 209 | - * @return array list of event types |
|
| 209 | + * @return AuthnetWebhooksResponse list of event types |
|
| 210 | 210 | */ |
| 211 | 211 | public function getNotificationHistory($limit = 1000, $offset = 0) |
| 212 | 212 | {
|
@@ -250,6 +250,7 @@ discard block |
||
| 250 | 250 | * @throws \JohnConde\Authnet\AuthnetCurlException |
| 251 | 251 | * |
| 252 | 252 | * @codeCoverageIgnore |
| 253 | + * @return string |
|
| 253 | 254 | */ |
| 254 | 255 | private function get($url) {
|
| 255 | 256 | $this->processor->get($url); |
@@ -265,6 +266,7 @@ discard block |
||
| 265 | 266 | * @throws \JohnConde\Authnet\AuthnetCurlException |
| 266 | 267 | * |
| 267 | 268 | * @codeCoverageIgnore |
| 269 | + * @return string |
|
| 268 | 270 | */ |
| 269 | 271 | private function post($url, $request) {
|
| 270 | 272 | $this->processor->post($url, $request); |
@@ -280,6 +282,7 @@ discard block |
||
| 280 | 282 | * @throws \JohnConde\Authnet\AuthnetCurlException |
| 281 | 283 | * |
| 282 | 284 | * @codeCoverageIgnore |
| 285 | + * @return string |
|
| 283 | 286 | */ |
| 284 | 287 | private function put($url, $request) {
|
| 285 | 288 | $this->processor->put($url, $request, true); |
@@ -303,7 +306,7 @@ discard block |
||
| 303 | 306 | /** |
| 304 | 307 | * Sets the handler to be used to handle our API call. Mainly used for unit testing as Curl is used by default. |
| 305 | 308 | * |
| 306 | - * @param object $processor |
|
| 309 | + * @param \Curl\Curl $processor |
|
| 307 | 310 | */ |
| 308 | 311 | public function setProcessHandler($processor) |
| 309 | 312 | {
|