refactoring

This commit is contained in:
NOrtmann1
2026-05-26 19:04:46 +02:00
parent e128a31a34
commit f2a9d8d1b3
3 changed files with 11 additions and 7 deletions
+7 -3
View File
@@ -12,13 +12,17 @@ class Article
private $content;
private $author;
private $date;
private $category;
/**
* @param $id integer ID des Beitrages
* @param $title
* @param $content
* @param $author
* @param $title string Titel des Beitrags
* @param $content string Inhalt des Beitrags
* @param $author string der Autor des des Beitrages NID
* @param $category string Kategorie des Beitrages
* @param $date
* @param $tags string[] optionale Schlagworte für eine bessere Suche
*
*/
public function __construct($id, $title, $content, $author, $date)
{