for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\ModelStatus;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\MorphTo;
class Status extends Model
{
protected $guarded = [];
protected $table = 'statuses';
public function model(): MorphTo
return $this->morphTo();
}