]> BookStack Code Mirror - bookstack/blobdiff - app/Actions/Comment.php
Fixed local_secure_restricted preventing attachment uploads
[bookstack] / app / Actions / Comment.php
index ef390939e2fe7f65c98a151364ced89788294864..885ba6ed1ac72d991f7003025ac671ee9d8dd99d 100644 (file)
@@ -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'];