diff --git a/src/Model/Customer.php b/src/Model/Customer.php index 1ff38e5..d47c527 100644 --- a/src/Model/Customer.php +++ b/src/Model/Customer.php @@ -39,7 +39,7 @@ class Customer extends User * * @return CustomerFactory */ - protected static function newFactory(): CustomerFactory + protected static function newFactory() { return CustomerFactory::new(); } diff --git a/src/Model/Item.php b/src/Model/Item.php index 8db2f3f..8ec67e7 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -91,7 +91,7 @@ class Item extends Model * * @return ItemFactory */ - protected static function newFactory(): ItemFactory + protected static function newFactory() { return ItemFactory::new(); } diff --git a/src/Model/Order.php b/src/Model/Order.php index c26bf1a..b6630bd 100644 --- a/src/Model/Order.php +++ b/src/Model/Order.php @@ -76,7 +76,7 @@ class Order extends Post * * @return OrderFactory */ - protected static function newFactory(): OrderFactory + protected static function newFactory() { return OrderFactory::new(); } diff --git a/src/Model/Product.php b/src/Model/Product.php index d44271b..c36e218 100644 --- a/src/Model/Product.php +++ b/src/Model/Product.php @@ -105,7 +105,7 @@ protected static function boot() * * @return ProductFactory */ - protected static function newFactory(): ProductFactory + protected static function newFactory() { return ProductFactory::new(); }