mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-01-30 17:18:41 +00:00
remove getId()
This commit is contained in:
parent
9f7b55f4ba
commit
77e1c99fcf
|
|
@ -173,18 +173,6 @@ class NewsArticle implements \JsonSerializable
|
|||
$this->publish = new \DateTime('now');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return int
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getId() : int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get news language
|
||||
*
|
||||
|
|
|
|||
|
|
@ -48,15 +48,4 @@ class NewsSeen
|
|||
$this->seenAt = new \DateTime('now');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return int
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getId() : int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user