Skip to content

Commit

Permalink
Fix some PHPDoc types
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Jun 20, 2022
1 parent 07e92da commit aa3d117
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions lib/ApiRequestor.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,8 @@ private static function _formatAppInfo($appInfo)
/**
* @static
*
* @param string $disabledFunctionsOutput - String value of the 'disable_function' setting, as output by \ini_get('disable_functions')
* @param string $disableFunctionsOutput - String value of the 'disable_function' setting, as output by \ini_get('disable_functions')
* @param string $functionName - Name of the function we are interesting in seeing whether or not it is disabled
* @param mixed $disableFunctionsOutput
*
* @return bool
*/
Expand Down Expand Up @@ -474,8 +473,7 @@ private function _requestRaw($method, $url, $params, $headers)
* @param string $url
* @param array $params
* @param array $headers
* @param callable $readBodyChunk
* @param mixed $readBodyChunkCallable
* @param callable $readBodyChunkCallable
*
* @throws Exception\AuthenticationException
* @throws Exception\ApiConnectionException
Expand Down
2 changes: 1 addition & 1 deletion lib/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class Invoice extends ApiResource
* @param null|array $params
* @param null|array|string $opts
*
* @throws StripeExceptionApiErrorException if the request fails
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return \Stripe\Collection<\Stripe\InvoiceLineItem> the list of lines (InvoiceLineItem)
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Service/SourceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class SourceService extends \Stripe\Service\AbstractService
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
* @return \Stripe\Source
* @return \Stripe\Collection<\Stripe\SourceTransaction>
*/
public function allTransactions($id, $params = null, $opts = null)
{
Expand Down

0 comments on commit aa3d117

Please sign in to comment.