diff --git a/src/Models/AuthCode.php b/src/Models/AuthCode.php index aaaa4cbd..8711ea88 100644 --- a/src/Models/AuthCode.php +++ b/src/Models/AuthCode.php @@ -6,7 +6,6 @@ use Cone\Root\Interfaces\Models\AuthCode as Contract; use Cone\Root\Traits\InteractsWithProxy; use Illuminate\Database\Eloquent\Builder; -use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; @@ -52,7 +51,7 @@ public static function getProxiedInterface(): string /** * Create a new factory instance for the model. */ - protected static function newFactory(): Factory + protected static function newFactory(): AuthCodeFactory { return AuthCodeFactory::new(); } diff --git a/src/Models/Event.php b/src/Models/Event.php index 322a2985..149e5202 100644 --- a/src/Models/Event.php +++ b/src/Models/Event.php @@ -5,7 +5,6 @@ use Cone\Root\Database\Factories\EventFactory; use Cone\Root\Interfaces\Models\Event as Contract; use Cone\Root\Traits\InteractsWithProxy; -use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; @@ -53,7 +52,7 @@ public static function getProxiedInterface(): string /** * Create a new factory instance for the model. */ - protected static function newFactory(): Factory + protected static function newFactory(): EventFactory { return EventFactory::new(); } diff --git a/src/Models/Medium.php b/src/Models/Medium.php index 9b2f4590..5381811a 100644 --- a/src/Models/Medium.php +++ b/src/Models/Medium.php @@ -14,7 +14,6 @@ use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\Database\Eloquent\Concerns\HasUuids; -use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; @@ -114,7 +113,7 @@ public static function getProxiedInterface(): string /** * Create a new factory instance for the model. */ - protected static function newFactory(): Factory + protected static function newFactory(): MediumFactory { return MediumFactory::new(); } diff --git a/src/Models/Meta.php b/src/Models/Meta.php index ba5bb8fe..cf502dc3 100644 --- a/src/Models/Meta.php +++ b/src/Models/Meta.php @@ -6,7 +6,6 @@ use Cone\Root\Database\Factories\MetaFactory; use Cone\Root\Interfaces\Models\Meta as Contract; use Cone\Root\Traits\InteractsWithProxy; -use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\MorphTo; @@ -53,7 +52,7 @@ public static function getProxiedInterface(): string /** * Create a new factory instance for the model. */ - protected static function newFactory(): Factory + protected static function newFactory(): MetaFactory { return MetaFactory::new(); }