From 77e1c99fcf2b3dd6957cf748e2172b6f594842e0 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 30 May 2023 02:37:03 +0200 Subject: [PATCH] remove getId() --- Models/NewsArticle.php | 12 ------------ Models/NewsSeen.php | 11 ----------- 2 files changed, 23 deletions(-) diff --git a/Models/NewsArticle.php b/Models/NewsArticle.php index 66cb341..e95d8cb 100755 --- a/Models/NewsArticle.php +++ b/Models/NewsArticle.php @@ -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 * diff --git a/Models/NewsSeen.php b/Models/NewsSeen.php index 3849d59..9c939a3 100755 --- a/Models/NewsSeen.php +++ b/Models/NewsSeen.php @@ -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; - } }