From 83ccf84da38cb7cd2a1138b60e7b3e3ae0eef93d Mon Sep 17 00:00:00 2001 From: NOrtmann1 Date: Fri, 29 May 2026 10:32:43 +0200 Subject: [PATCH] Update Article.php --- php/model/Article.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/model/Article.php b/php/model/Article.php index 565504b..ebb370e 100644 --- a/php/model/Article.php +++ b/php/model/Article.php @@ -41,7 +41,7 @@ class Article * Gibt die ID eines Artikels zurück. * @return int */ - public function getId() + public function getId(): int { return $this->id; } @@ -99,7 +99,7 @@ class Article * Gibt das Veröffentlichungsdatum des Artikels zurück. * @return string */ - public function getCreationDate() + public function getCreationDate(): string { return $this->creationDate; }