From 2402212b1c694f4b630de61e8e5b29d0f078203f Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Sat, 21 Aug 2021 16:10:56 +0300 Subject: [PATCH] Added the ability to pass additional data to Cachier Auth contract --- src/Cashier/Auth/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cashier/Auth/Auth.php b/src/Cashier/Auth/Auth.php index 712ef75..30dc505 100644 --- a/src/Cashier/Auth/Auth.php +++ b/src/Cashier/Auth/Auth.php @@ -10,7 +10,7 @@ /** @method static Auth make(Model $model, Request $request, bool $hash = true) */ interface Auth { - public function __construct(Model $model, Request $request, bool $hash = true); + public function __construct(Model $model, Request $request, bool $hash = true, array $extra = []); public function headers(): array;