X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/d74255df5db46c8d57907e793a99bf3d167113c7..refs/pull/3693/head:/app/Actions/Comment.php diff --git a/app/Actions/Comment.php b/app/Actions/Comment.php index e652bf8a8..885ba6ed1 100644 --- a/app/Actions/Comment.php +++ b/app/Actions/Comment.php @@ -4,17 +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 int $id - * @property string $text - * @property string $html + * @property int $id + * @property string $text + * @property string $html * @property int|null $parent_id - * @property int $local_id + * @property int $local_id */ class Comment extends Model { + use HasFactory; use HasCreatorAndUpdater; protected $fillable = ['text', 'parent_id'];