mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-02-15 16:08:42 +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');
|
$this->publish = new \DateTime('now');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get id
|
|
||||||
*
|
|
||||||
* @return int
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
public function getId() : int
|
|
||||||
{
|
|
||||||
return $this->id;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get news language
|
* Get news language
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -48,15 +48,4 @@ class NewsSeen
|
||||||
$this->seenAt = new \DateTime('now');
|
$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