From f12f9facf7ff9d9c2fa382f5a38a458b6328b1bc Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 30 Jun 2020 17:25:31 -0400 Subject: [PATCH] fix a docblock example and some types --- src/Gateway.php | 2 +- src/Payment.php | 4 ++-- src/Spreedly.php | 4 ++-- src/Transaction.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Gateway.php b/src/Gateway.php index 3141fe2..3f7bca5 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -11,7 +11,7 @@ class Gateway /** * Create a Guzzle instance and set token. * - * @param \GuzzleHttp\Client $client + * @param \Tuurbo\Spreedly\Client $client * @param array $config * @param string $gatewayToken optional */ diff --git a/src/Payment.php b/src/Payment.php index d305629..5ccb739 100644 --- a/src/Payment.php +++ b/src/Payment.php @@ -12,7 +12,7 @@ class Payment /** * Create a Guzzle instance and set tokens. * - * @param \GuzzleHttp\Client $client + * @param \Tuurbo\Spreedly\Client $client * @param array $config * @param string $paymentToken optional * @param string $gatewayToken optional @@ -177,7 +177,7 @@ public function disable() * Create a general credit. * * - * Spreedly::payment($paymentToken)->capture(); + * Spreedly::payment($paymentToken)->generalCredit(); * * * @param int $amount diff --git a/src/Spreedly.php b/src/Spreedly.php index 7aded80..dddcfb8 100644 --- a/src/Spreedly.php +++ b/src/Spreedly.php @@ -85,7 +85,7 @@ public function setConfig(array $config) * Given an array of configs, they will be merged into the existing config * instead of replacing them completely * The supplied configs are given priority. - * + * * @param array $config * * @return $this @@ -116,7 +116,7 @@ protected function validateConfig() /** * Create Guzzle instance. * - * @return \GuzzleHttp\Client + * @return \Tuurbo\Spreedly\Client */ public function client() { diff --git a/src/Transaction.php b/src/Transaction.php index 3f34e3e..10b1480 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -11,7 +11,7 @@ class Transaction /** * Create a Guzzle instance and set token. * - * @param \GuzzleHttp\Client $client + * @param \Tuurbo\Spreedly\Client $client * @param array $config * @param string $transactionToken optional */