From d2ef33e21c173cd738f0778893f52fa6244e41b4 Mon Sep 17 00:00:00 2001 From: rap2h Date: Tue, 23 Jan 2018 11:45:00 +0100 Subject: [PATCH] refactor --- src/StripeConnect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StripeConnect.php b/src/StripeConnect.php index 49cae05..ce23dc1 100644 --- a/src/StripeConnect.php +++ b/src/StripeConnect.php @@ -50,7 +50,7 @@ public static function createAccount($to, $params = []) "email" => $to->email, ], $params); return self::create($to, 'account_id', function () use ($params) { - return Customer::create($params); + return StripeAccount::create($params); }); }