Skip to content

Commit

Permalink
Added the ability to pass additional data to Cachier Auth contract
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar committed Aug 21, 2021
1 parent a6d29db commit 2402212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cashier/Auth/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2402212

Please sign in to comment.