From 42436038fda6a4faf68a72758de30dcfe8f26535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Tue, 10 Dec 2024 21:39:41 +0100 Subject: [PATCH] fixes --- src/Gateway/Driver.php | 2 +- stubs/CategoryResource.stub | 2 +- stubs/OrderResource.stub | 2 +- stubs/ProductResource.stub | 2 +- stubs/PropertyResource.stub | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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