content notification read working
This commit is contained in:
parent
ffb8252808
commit
94c5737245
21 changed files with 317 additions and 163 deletions
|
|
@ -6,7 +6,6 @@ use adrienpayet\D2P\data\Author;
|
|||
use adrienpayet\D2P\data\Position;
|
||||
|
||||
class BaseComment {
|
||||
protected string $type;
|
||||
protected Location $location;
|
||||
protected Author $author;
|
||||
protected string $text;
|
||||
|
|
|
|||
|
|
@ -7,11 +7,6 @@ class Reply extends BaseComment {
|
|||
|
||||
public function __construct($data) {
|
||||
parent::__construct($data);
|
||||
$this->location->setParentCommentId($data["parentId"]);
|
||||
}
|
||||
|
||||
public function parentId() {
|
||||
return $this->location->parentId();
|
||||
}
|
||||
|
||||
public function toArray() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue