X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/c429cf78187e80deb63982a282a1c6889f30291a..refs/pull/3693/head:/app/Actions/Comment.php diff --git a/app/Actions/Comment.php b/app/Actions/Comment.php index ef390939e..885ba6ed1 100644 --- a/app/Actions/Comment.php +++ b/app/Actions/Comment.php @@ -4,16 +4,19 @@ namespace BookStack\Actions; use BookStack\Model; use BookStack\Traits\HasCreatorAndUpdater; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\MorphTo; /** - * @property string text - * @property string html - * @property int|null parent_id - * @property int local_id + * @property int $id + * @property string $text + * @property string $html + * @property int|null $parent_id + * @property int $local_id */ class Comment extends Model { + use HasFactory; use HasCreatorAndUpdater; protected $fillable = ['text', 'parent_id'];