Update Article.php

This commit is contained in:
2026-05-29 10:32:43 +02:00
parent 968534d28e
commit 83ccf84da3
+2 -2
View File
@@ -41,7 +41,7 @@ class Article
* Gibt die ID eines Artikels zurück. * Gibt die ID eines Artikels zurück.
* @return int * @return int
*/ */
public function getId() public function getId(): int
{ {
return $this->id; return $this->id;
} }
@@ -99,7 +99,7 @@ class Article
* Gibt das Veröffentlichungsdatum des Artikels zurück. * Gibt das Veröffentlichungsdatum des Artikels zurück.
* @return string * @return string
*/ */
public function getCreationDate() public function getCreationDate(): string
{ {
return $this->creationDate; return $this->creationDate;
} }