Beitrag erstellen #13

Merged
niklas.ortmann merged 164 commits from Beitrag-erstellen into dev 2026-05-29 13:22:11 +02:00
Showing only changes of commit 83ccf84da3 - Show all commits
+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;
} }