Skip to content

Commit

Permalink
ran linter
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodes committed Feb 23, 2024
1 parent 1e7b854 commit 5ab0082
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion server/src/Expansions/EntityExpansion.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Fleetbase\Storefront\Expansions;

use Fleetbase\Build\Expansion;
use Fleetbase\FleetOps\Models\Entity;
use Fleetbase\Storefront\Models\Product;
use Fleetbase\Build\Expansion;

class EntityExpansion implements Expansion
{
Expand Down
4 changes: 2 additions & 2 deletions server/src/Http/Controllers/v1/CheckoutController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Fleetbase\FleetOps\Models\Entity;
use Fleetbase\FleetOps\Models\Order;
use Fleetbase\FleetOps\Models\Payload;
use Fleetbase\Storefront\Models\Customer;
use Fleetbase\FleetOps\Models\Place;
use Fleetbase\FleetOps\Models\ServiceQuote;
use Fleetbase\FleetOps\Support\Utils;
Expand All @@ -18,6 +17,7 @@
use Fleetbase\Storefront\Http\Requests\InitializeCheckoutRequest;
use Fleetbase\Storefront\Models\Cart;
use Fleetbase\Storefront\Models\Checkout;
use Fleetbase\Storefront\Models\Customer;
use Fleetbase\Storefront\Models\Gateway;
use Fleetbase\Storefront\Models\Product;
use Fleetbase\Storefront\Models\Store;
Expand Down Expand Up @@ -346,7 +346,7 @@ public function captureOrder(CaptureOrderRequest $request)
$transaction = Transaction::create([
'company_uuid' => session('company'),
'customer_uuid' => $customer->uuid,
'customer_type' => Utils::getMutationType('fleet-ops:contact'),
'customer_type' => Utils::getMutationType('fleet-ops:contact'),
'gateway_transaction_id' => Utils::or($transactionDetails, ['id', 'transaction_id']) ?? Transaction::generateNumber(),
'gateway' => $gateway->code,
'gateway_uuid' => $gateway->uuid,
Expand Down
4 changes: 2 additions & 2 deletions server/src/Models/Checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Fleetbase\Storefront\Models;

use Fleetbase\Casts\Json;
use Fleetbase\Support\Utils;
use Fleetbase\Models\Company;
use Fleetbase\FleetOps\Models\ServiceQuote;
use Fleetbase\Models\Company;
use Fleetbase\Support\Utils;
use Fleetbase\Traits\HasOptionsAttributes;
use Fleetbase\Traits\HasPublicid;
use Fleetbase\Traits\HasUuid;
Expand Down
2 changes: 1 addition & 1 deletion server/src/Models/StoreLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Fleetbase\Storefront\Models;

use Fleetbase\FleetOps\Models\Place;
use Fleetbase\LaravelMysqlSpatial\Eloquent\SpatialTrait;
use Fleetbase\Models\User;
use Fleetbase\Traits\HasApiModelBehavior;
use Fleetbase\Traits\HasPublicid;
use Fleetbase\Traits\HasUuid;
use Fleetbase\LaravelMysqlSpatial\Eloquent\SpatialTrait;

class StoreLocation extends StorefrontModel
{
Expand Down

0 comments on commit 5ab0082

Please sign in to comment.