diff --git a/CHANGELOG.md b/CHANGELOG.md index 9afa12ef..980261d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 6.7.1 +* Fix wrong namespacing for the `Braintree\Result\ERror` class on docblocks + ## 6.7.0 * Fix lint errors on unit test diff --git a/lib/Braintree/PaymentMethodNonce.php b/lib/Braintree/PaymentMethodNonce.php index 85f905ca..7c536cec 100644 --- a/lib/Braintree/PaymentMethodNonce.php +++ b/lib/Braintree/PaymentMethodNonce.php @@ -21,7 +21,7 @@ class PaymentMethodNonce extends Base * * @see PaymentMethodNonceGateway::create() * - * @return PaymentMethodNonce|Error + * @return PaymentMethodNonce|Result\Error */ public static function create($token, $params = []) { diff --git a/lib/Braintree/PaymentMethodNonceGateway.php b/lib/Braintree/PaymentMethodNonceGateway.php index a158ebf1..ade0808d 100644 --- a/lib/Braintree/PaymentMethodNonceGateway.php +++ b/lib/Braintree/PaymentMethodNonceGateway.php @@ -25,7 +25,7 @@ public function __construct($gateway) * @param string $token the identifier of the payment method * @param mixed|null $params additional parameters to be included in the request * - * @return PaymentMethodNonce|Error + * @return PaymentMethodNonce|Result\Error */ public function create($token, $params = []) { diff --git a/lib/Braintree/UsBankAccount.php b/lib/Braintree/UsBankAccount.php index fe7b0d94..aad5c58f 100644 --- a/lib/Braintree/UsBankAccount.php +++ b/lib/Braintree/UsBankAccount.php @@ -78,7 +78,7 @@ public function isDefault() * * @see USBankAccountGateway::find() * - * @return UsBankAccount|Error + * @return UsBankAccount|Result\Error */ public static function find($token) { @@ -91,7 +91,7 @@ public static function find($token) * @param string $token the payment method identifier * @param array $transactionAttribs all other transaction parameters * - * @return UsBankAccount|Error + * @return UsBankAccount|Result\Error */ public static function sale($token, $transactionAttribs) {