Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Sep 2, 2024
1 parent b39ccc4 commit e00236a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/Models/AuthCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}
Expand Down
3 changes: 1 addition & 2 deletions src/Models/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}
Expand Down
3 changes: 1 addition & 2 deletions src/Models/Medium.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}
Expand Down
3 changes: 1 addition & 2 deletions src/Models/Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit e00236a

Please sign in to comment.