From 117c8d4196d07e2b3d702bb945aa4e841a921045 Mon Sep 17 00:00:00 2001 From: Arthur Monney Date: Wed, 6 Nov 2024 07:07:29 +0100 Subject: [PATCH] feat: Remove key words on Factory (#305) --- packages/core/database/factories/AddressFactory.php | 2 +- packages/core/database/factories/BrandFactory.php | 2 +- packages/core/database/factories/CarrierOptionFactory.php | 2 +- packages/core/database/factories/CategoryFactory.php | 2 +- packages/core/database/factories/CollectionFactory.php | 2 +- packages/core/database/factories/CollectionRuleFactory.php | 2 +- packages/core/database/factories/OrderFactory.php | 2 +- packages/core/database/factories/OrderItemFactory.php | 2 +- packages/core/database/factories/ProductFactory.php | 2 +- packages/core/database/factories/UserFactory.php | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/core/database/factories/AddressFactory.php b/packages/core/database/factories/AddressFactory.php index a0eca3bbc..56a46dd5f 100755 --- a/packages/core/database/factories/AddressFactory.php +++ b/packages/core/database/factories/AddressFactory.php @@ -11,7 +11,7 @@ /** * @extends Factory
*/ -final class AddressFactory extends Factory +class AddressFactory extends Factory { protected $model = Address::class; diff --git a/packages/core/database/factories/BrandFactory.php b/packages/core/database/factories/BrandFactory.php index 0101b641c..a0e7f0a25 100755 --- a/packages/core/database/factories/BrandFactory.php +++ b/packages/core/database/factories/BrandFactory.php @@ -11,7 +11,7 @@ /** * @extends Factory */ -final class BrandFactory extends Factory +class BrandFactory extends Factory { protected $model = Brand::class; diff --git a/packages/core/database/factories/CarrierOptionFactory.php b/packages/core/database/factories/CarrierOptionFactory.php index 91e02abae..1a2cb4c77 100755 --- a/packages/core/database/factories/CarrierOptionFactory.php +++ b/packages/core/database/factories/CarrierOptionFactory.php @@ -10,7 +10,7 @@ /** * @extends Factory */ -final class CarrierOptionFactory extends Factory +class CarrierOptionFactory extends Factory { protected $model = CarrierOption::class; diff --git a/packages/core/database/factories/CategoryFactory.php b/packages/core/database/factories/CategoryFactory.php index 5d3ae456c..218f234a8 100755 --- a/packages/core/database/factories/CategoryFactory.php +++ b/packages/core/database/factories/CategoryFactory.php @@ -11,7 +11,7 @@ /** * @extends Factory */ -final class CategoryFactory extends Factory +class CategoryFactory extends Factory { protected $model = Category::class; diff --git a/packages/core/database/factories/CollectionFactory.php b/packages/core/database/factories/CollectionFactory.php index 1cfc9a9cb..7328548f2 100644 --- a/packages/core/database/factories/CollectionFactory.php +++ b/packages/core/database/factories/CollectionFactory.php @@ -11,7 +11,7 @@ /** * @extends Factory */ -final class CollectionFactory extends Factory +class CollectionFactory extends Factory { protected $model = Collection::class; diff --git a/packages/core/database/factories/CollectionRuleFactory.php b/packages/core/database/factories/CollectionRuleFactory.php index c458ea3eb..8b8501b48 100644 --- a/packages/core/database/factories/CollectionRuleFactory.php +++ b/packages/core/database/factories/CollectionRuleFactory.php @@ -10,7 +10,7 @@ /** * @extends Factory */ -final class CollectionRuleFactory extends Factory +class CollectionRuleFactory extends Factory { protected $model = CollectionRule::class; diff --git a/packages/core/database/factories/OrderFactory.php b/packages/core/database/factories/OrderFactory.php index fe7ee3f29..17d21e94a 100755 --- a/packages/core/database/factories/OrderFactory.php +++ b/packages/core/database/factories/OrderFactory.php @@ -11,7 +11,7 @@ /** * @extends Factory */ -final class OrderFactory extends Factory +class OrderFactory extends Factory { protected $model = Order::class; diff --git a/packages/core/database/factories/OrderItemFactory.php b/packages/core/database/factories/OrderItemFactory.php index 233e22cf4..97aed4198 100755 --- a/packages/core/database/factories/OrderItemFactory.php +++ b/packages/core/database/factories/OrderItemFactory.php @@ -10,7 +10,7 @@ /** * @extends Factory */ -final class OrderItemFactory extends Factory +class OrderItemFactory extends Factory { protected $model = OrderItem::class; diff --git a/packages/core/database/factories/ProductFactory.php b/packages/core/database/factories/ProductFactory.php index c3227a9fd..186467455 100755 --- a/packages/core/database/factories/ProductFactory.php +++ b/packages/core/database/factories/ProductFactory.php @@ -11,7 +11,7 @@ /** * @extends Factory */ -final class ProductFactory extends Factory +class ProductFactory extends Factory { protected $model = Product::class; diff --git a/packages/core/database/factories/UserFactory.php b/packages/core/database/factories/UserFactory.php index 35c1a1a82..9d25a5d20 100755 --- a/packages/core/database/factories/UserFactory.php +++ b/packages/core/database/factories/UserFactory.php @@ -13,7 +13,7 @@ /** * @extends Factory */ -final class UserFactory extends Factory +class UserFactory extends Factory { protected static ?string $password;