diff --git a/src/Gateway/Driver.php b/src/Gateway/Driver.php index c3caac29..63c09566 100644 --- a/src/Gateway/Driver.php +++ b/src/Gateway/Driver.php @@ -81,7 +81,7 @@ public function getFailureUrl(Order $order): string /** * Handle the checkout request. */ - public function x(Request $request, Order $order): Response + public function handleCheckout(Request $request, Order $order): Response { try { $this->checkout($request, $order); diff --git a/stubs/CategoryResource.stub b/stubs/CategoryResource.stub index 45693462..68709910 100644 --- a/stubs/CategoryResource.stub +++ b/stubs/CategoryResource.stub @@ -2,7 +2,7 @@ namespace {{ namespace }}Root\Resources; -use Cone\Bazar\Resources\CategoryResource as Respource; +use Cone\Bazar\Resources\CategoryResource as Resource; use Illuminate\Http\Request; class CategoryResource extends Resource diff --git a/stubs/OrderResource.stub b/stubs/OrderResource.stub index 6718b626..86a150c4 100644 --- a/stubs/OrderResource.stub +++ b/stubs/OrderResource.stub @@ -2,7 +2,7 @@ namespace {{ namespace }}Root\Resources; -use Cone\Bazar\Resources\OrderResource as Respource; +use Cone\Bazar\Resources\OrderResource as Resource; use Illuminate\Http\Request; class OrderResource extends Resource diff --git a/stubs/ProductResource.stub b/stubs/ProductResource.stub index b94baaca..388564a2 100644 --- a/stubs/ProductResource.stub +++ b/stubs/ProductResource.stub @@ -2,7 +2,7 @@ namespace {{ namespace }}Root\Resources; -use Cone\Bazar\Resources\ProductResource as Respource; +use Cone\Bazar\Resources\ProductResource as Resource; use Illuminate\Http\Request; class ProductResource extends Resource diff --git a/stubs/PropertyResource.stub b/stubs/PropertyResource.stub index 42fdb4f1..12b890c3 100644 --- a/stubs/PropertyResource.stub +++ b/stubs/PropertyResource.stub @@ -2,7 +2,7 @@ namespace {{ namespace }}Root\Resources; -use Cone\Bazar\Resources\PropertyResource as Respource; +use Cone\Bazar\Resources\PropertyResource as Resource; use Illuminate\Http\Request; class PropertyResource extends Resource