|
16 | 16 | *
|
17 | 17 | * Quickly and easily access any REST or REST-like API.
|
18 | 18 | *
|
19 |
| - * @method Response get($body = null, $query = null, $headers = null) |
20 |
| - * @method Response post($body = null, $query = null, $headers = null) |
21 |
| - * @method Response patch($body = null, $query = null, $headers = null) |
22 |
| - * @method Response put($body = null, $query = null, $headers = null) |
23 |
| - * @method Response delete($body = null, $query = null, $headers = null) |
| 19 | + * @method Response get($body = null, $query = null, $headers = null, $retryOnLimit = null) |
| 20 | + * @method Response post($body = null, $query = null, $headers = null, $retryOnLimit = null) |
| 21 | + * @method Response patch($body = null, $query = null, $headers = null, $retryOnLimit = null) |
| 22 | + * @method Response put($body = null, $query = null, $headers = null, $retryOnLimit = null) |
| 23 | + * @method Response delete($body = null, $query = null, $headers = null, $retryOnLimit = null) |
24 | 24 | *
|
25 | 25 | * @method Client version($value)
|
26 | 26 | * @method Client|Response send()
|
|
123 | 123 | * @method Client subusers()
|
124 | 124 | * @method Client reputations()
|
125 | 125 | *
|
126 |
| - * Supressions |
| 126 | + * Suppressions |
127 | 127 | * @method Client suppression()
|
128 | 128 | * @method Client global()
|
129 | 129 | * @method Client blocks()
|
130 | 130 | * @method Client bounces()
|
131 | 131 | * @method Client invalid_emails()
|
132 | 132 | * @method Client spam_reports()
|
133 |
| - * @method Client unsubcribes() |
| 133 | + * @method Client unsubscribes() |
134 | 134 | *
|
135 | 135 | * Templates
|
136 | 136 | * @method Client templates()
|
@@ -432,6 +432,7 @@ private function parseResponse($channel, $content)
|
432 | 432 | * @param array $headers original headers
|
433 | 433 | *
|
434 | 434 | * @return Response response object
|
| 435 | + * @throws InvalidRequest |
435 | 436 | */
|
436 | 437 | private function retryRequest(array $responseHeaders, $method, $url, $body, $headers)
|
437 | 438 | {
|
@@ -562,6 +563,7 @@ public function _($name = null)
|
562 | 563 | * @param array $args parameters passed with the method call
|
563 | 564 | *
|
564 | 565 | * @return Client|Response|Response[]|null object
|
| 566 | + * @throws InvalidRequest |
565 | 567 | */
|
566 | 568 | public function __call($name, $args)
|
567 | 569 | {
|
|
0 commit comments