diff --git a/lib/ApiRequestor.php b/lib/ApiRequestor.php index b2fa192377..7162e33b53 100644 --- a/lib/ApiRequestor.php +++ b/lib/ApiRequestor.php @@ -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 */ @@ -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 diff --git a/lib/Invoice.php b/lib/Invoice.php index 7078728105..fc0c9dcf77 100644 --- a/lib/Invoice.php +++ b/lib/Invoice.php @@ -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) */ diff --git a/lib/Service/SourceService.php b/lib/Service/SourceService.php index c6cc059646..403f328911 100644 --- a/lib/Service/SourceService.php +++ b/lib/Service/SourceService.php @@ -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) {