@@ -152,7 +152,7 @@ |
||
| 152 | 152 | * |
| 153 | 153 | * @deprecated Use the `save` method on the Dispute object |
| 154 | 154 | * |
| 155 | - * @return array The updated dispute. |
|
| 155 | + * @return string The updated dispute. |
|
| 156 | 156 | */ |
| 157 | 157 | public function updateDispute($params = null, $options = null) |
| 158 | 158 | { |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | /** |
| 83 | 83 | * @param array|null $params |
| 84 | 84 | * |
| 85 | - * @return array An array of the customer's Invoices. |
|
| 85 | + * @return Collection An array of the customer's Invoices. |
|
| 86 | 86 | */ |
| 87 | 87 | public function invoices($params = null) |
| 88 | 88 | { |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | /** |
| 96 | 96 | * @param array|null $params |
| 97 | 97 | * |
| 98 | - * @return array An array of the customer's InvoiceItems. |
|
| 98 | + * @return Collection An array of the customer's InvoiceItems. |
|
| 99 | 99 | */ |
| 100 | 100 | public function invoiceItems($params = null) |
| 101 | 101 | { |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | /** |
| 109 | 109 | * @param array|null $params |
| 110 | 110 | * |
| 111 | - * @return array An array of the customer's Charges. |
|
| 111 | + * @return Collection An array of the customer's Charges. |
|
| 112 | 112 | */ |
| 113 | 113 | public function charges($params = null) |
| 114 | 114 | { |
@@ -99,6 +99,9 @@ discard block |
||
| 99 | 99 | return $additiveParams; |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | + /** |
|
| 103 | + * @param Util\RequestOptions $opts |
|
| 104 | + */ |
|
| 102 | 105 | public function __construct($id = null, $opts = null) |
| 103 | 106 | { |
| 104 | 107 | list($id, $this->_retrieveOptions) = Util\Util::normalizeId($id); |
@@ -335,6 +338,10 @@ discard block |
||
| 335 | 338 | } |
| 336 | 339 | |
| 337 | 340 | |
| 341 | + /** |
|
| 342 | + * @param boolean $unsaved |
|
| 343 | + * @param boolean $force |
|
| 344 | + */ |
|
| 338 | 345 | public function serializeParamsValue($value, $original, $unsaved, $force, $key = null) |
| 339 | 346 | { |
| 340 | 347 | // The logic here is that essentially any object embedded in another |
@@ -491,7 +498,7 @@ discard block |
||
| 491 | 498 | } |
| 492 | 499 | |
| 493 | 500 | /** |
| 494 | - * @return object The last response from the Stripe API |
|
| 501 | + * @return ApiResponse The last response from the Stripe API |
|
| 495 | 502 | */ |
| 496 | 503 | public function getLastResponse() |
| 497 | 504 | { |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | * @param array|null $params |
| 91 | 91 | * @param array|string|null $opts |
| 92 | 92 | * |
| 93 | - * @return Revision |
|
| 93 | + * @return StripeObject |
|
| 94 | 94 | */ |
| 95 | 95 | public static function retrieveRevision($id, $personId, $params = null, $opts = null) |
| 96 | 96 | { |
@@ -63,8 +63,7 @@ |
||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | - * @param array|string $_id |
|
| 67 | - * @param array|string|null $_opts |
|
| 66 | + * @param array|string|null $opts |
|
| 68 | 67 | * |
| 69 | 68 | * @throws \Stripe\Error\InvalidRequest |
| 70 | 69 | */ |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | const SOURCE_TYPE_FINANCING = 'financing'; |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * @return TransferReversal The created transfer reversal. |
|
| 51 | + * @return Transfer The created transfer reversal. |
|
| 52 | 52 | */ |
| 53 | 53 | public function reverse($params = null, $opts = null) |
| 54 | 54 | { |