From bca3ed1edea93a51c07127343ce0f0b03f7fc3dc Mon Sep 17 00:00:00 2001 From: daurensky Date: Tue, 12 Mar 2024 09:00:44 +0000 Subject: [PATCH] Fix styling --- database/factories/ProductFactory.php | 2 +- src/FilamentPlugin.php | 2 +- src/Models/Product.php | 2 +- src/ProductsServiceProvider.php | 4 ++-- src/UI/API/Routes/api.php | 2 +- src/UI/Filament/Resources/ProductResource.php | 4 ++-- .../Resources/ProductResource/Pages/CreateProduct.php | 2 +- .../Filament/Resources/ProductResource/Pages/EditProduct.php | 2 +- .../Filament/Resources/ProductResource/Pages/ListProduct.php | 2 +- tests/TestCase.php | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/database/factories/ProductFactory.php b/database/factories/ProductFactory.php index 574cd9e..f8aeefc 100644 --- a/database/factories/ProductFactory.php +++ b/database/factories/ProductFactory.php @@ -2,8 +2,8 @@ namespace AdminKit\Products\Database\Factories; -use Illuminate\Database\Eloquent\Factories\Factory; use AdminKit\Products\Models\Product; +use Illuminate\Database\Eloquent\Factories\Factory; class ProductFactory extends Factory { diff --git a/src/FilamentPlugin.php b/src/FilamentPlugin.php index f25b672..78a7b12 100644 --- a/src/FilamentPlugin.php +++ b/src/FilamentPlugin.php @@ -2,9 +2,9 @@ namespace AdminKit\Products; +use AdminKit\Products\UI\Filament\Resources\ProductResource; use Filament\Contracts\Plugin; use Filament\Panel; -use AdminKit\Products\UI\Filament\Resources\ProductResource; class FilamentPlugin implements Plugin { diff --git a/src/Models/Product.php b/src/Models/Product.php index 80e3ed8..3021ddb 100644 --- a/src/Models/Product.php +++ b/src/Models/Product.php @@ -3,9 +3,9 @@ namespace AdminKit\Products\Models; use AdminKit\Core\Abstracts\Models\AbstractModel; +use AdminKit\Products\Database\Factories\ProductFactory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Spatie\Translatable\HasTranslations; -use AdminKit\Products\Database\Factories\ProductFactory; class Product extends AbstractModel { diff --git a/src/ProductsServiceProvider.php b/src/ProductsServiceProvider.php index 5fedd63..0aff603 100644 --- a/src/ProductsServiceProvider.php +++ b/src/ProductsServiceProvider.php @@ -2,10 +2,10 @@ namespace AdminKit\Products; -use Spatie\LaravelPackageTools\Package; -use Spatie\LaravelPackageTools\PackageServiceProvider; use AdminKit\Products\Commands\ProductsCommand; use AdminKit\Products\Providers\RouteServiceProvider; +use Spatie\LaravelPackageTools\Package; +use Spatie\LaravelPackageTools\PackageServiceProvider; class ProductsServiceProvider extends PackageServiceProvider { diff --git a/src/UI/API/Routes/api.php b/src/UI/API/Routes/api.php index d1bd8e1..3ecf300 100644 --- a/src/UI/API/Routes/api.php +++ b/src/UI/API/Routes/api.php @@ -1,7 +1,7 @@