From 987cb01ca3261aecc6ad4cff94496059dbe0ca6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 25 Oct 2021 17:44:55 +0200 Subject: [PATCH] Typehint Braintree\Gateway SDK --- app/PaymentDrivers/BraintreePaymentDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/BraintreePaymentDriver.php b/app/PaymentDrivers/BraintreePaymentDriver.php index 55c064581d40..aa9e6aac4fc6 100644 --- a/app/PaymentDrivers/BraintreePaymentDriver.php +++ b/app/PaymentDrivers/BraintreePaymentDriver.php @@ -40,7 +40,7 @@ class BraintreePaymentDriver extends BaseDriver /** * @var Gateway; */ - public $gateway; + public Gateway $gateway; public static $methods = [ GatewayType::CREDIT_CARD => CreditCard::class,