Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Propose to fix Billable app throwing exception on install #1145

Merged
merged 1 commit into from
Aug 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Traits/BillingController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ trait BillingController
/**
* Redirects to billing screen for Shopify.
*
* @param int|null $plan The plan's ID, if provided in route.
* @param Request $request The request object.
* @param ShopQuery $shopQuery The shop querier.
* @param GetPlanUrl $getPlanUrl The action for getting the plan URL.
* @param int|null $plan The plan's ID, if provided in route.
*
* @return ViewView
*/
public function index(
?int $plan = null,
Request $request,
ShopQuery $shopQuery,
GetPlanUrl $getPlanUrl
GetPlanUrl $getPlanUrl,
?int $plan = null
): ViewView {
// Get the shop
$shop = $shopQuery->getByDomain(ShopDomain::fromNative($request->get('shop')));
Expand Down