Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PHPDoc return types for allSomething() methods #619

Merged
merged 1 commit into from
Mar 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public static function deleteExternalAccount($id, $externalAccountId, $params =
* @param array|null $params
* @param array|string|null $opts
*
* @return BankAccount|Card
* @return Collection The list of external accounts (BankAccount or Card).
*/
public static function allExternalAccounts($id, $params = null, $opts = null)
{
Expand Down Expand Up @@ -258,7 +258,7 @@ public static function deletePerson($id, $personId, $params = null, $opts = null
* @param array|null $params
* @param array|string|null $opts
*
* @return Person
* @return Collection The list of persons.
*/
public static function allPersons($id, $params = null, $opts = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/ApplicationFee.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static function updateRefund($id, $refundId, $params = null, $opts = null
* @param array|null $params
* @param array|string|null $opts
*
* @return ApplicationFeeRefund
* @return Collection The list of refunds.
*/
public static function allRefunds($id, $params = null, $opts = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public static function deleteSource($id, $sourceId, $params = null, $opts = null
* @param array|null $params
* @param array|string|null $opts
*
* @return ApiResource
* @return Collection The list of sources.
*/
public static function allSources($id, $params = null, $opts = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/SubscriptionSchedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static function retrieveRevision($id, $personId, $params = null, $opts =
* @param array|null $params
* @param array|string|null $opts
*
* @return Revision
* @return Collection The list of revisions.
*/
public static function allRevisions($id, $params = null, $opts = null)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Transfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public static function updateReversal($id, $reversalId, $params = null, $opts =
* @param array|null $params
* @param array|string|null $opts
*
* @return TransferReversal
* @return Collection The list of reversals.
*/
public static function allReversals($id, $params = null, $opts = null)
{
Expand Down