Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjaparade committed Dec 9, 2023
2 parents 01c8ad1 + 0c918f7 commit f224b7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Models/Casts/StripInvoiceSettingCast.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Ninjaparade\StripeData\Models\Casts;

use Ninjaparade\StripeData\Data\Response\Customers\StripeCustomerInvoiceSettingData;
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
use Illuminate\Database\Eloquent\Model;
use Ninjaparade\StripeData\Data\Response\Customers\StripeCustomerInvoiceSettingData;

class StripInvoiceSettingCast implements CastsAttributes
{
Expand Down
6 changes: 3 additions & 3 deletions src/StripeDataServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Ninjaparade\StripeData;

use Illuminate\Database\Eloquent\Relations\Relation;
use Ninjaparade\StripeData\Commands\SyncCustomersCommand;
use Ninjaparade\StripeData\Commands\SyncProductsCommand;
use Ninjaparade\StripeData\Data\Config\StripeConfig;
Expand All @@ -10,7 +11,6 @@
use Ninjaparade\StripeData\Stripe\StripeService;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use Illuminate\Database\Eloquent\Relations\Relation;

class StripeDataServiceProvider extends PackageServiceProvider
{
Expand All @@ -36,7 +36,7 @@ public function registeringPackage(): void
{
$this->app->singleton(
StripeService::class,
fn($app) => new StripeService(
fn ($app) => new StripeService(
config: StripeConfig::from(config('stripe-data.stripe'))
)
);
Expand All @@ -59,7 +59,7 @@ public function boot()
{
Relation::enforceMorphMap([
'stripe_customer' => StripeCustomer::class,
'stripe_product' => StripeProduct::class
'stripe_product' => StripeProduct::class,
]);
}
}

0 comments on commit f224b7c

Please sign in to comment.