This commit is contained in:
NOrtmann1
2026-05-27 19:31:38 +02:00
parent 581c012a72
commit e5b617dcba
3 changed files with 4 additions and 14 deletions
+2 -2
View File
@@ -12,12 +12,12 @@ interface ArticleManagerDAO
* @param $content string Inhalt des Beitrags
* @param $author string der Autor des des Beitrages NID
* @param $category string Kategorie des Beitrages
* @param $tags string[] optionale Schlagworte für eine bessere Suche
* @param $tags string optionale Schlagworte für eine bessere Suche
*
* Mögliche Exceptions:
* TODO Fehlerbeschreibung hinzufügen & tags hinzufügen
*/
public function addArticle($title, $content, $author, $category, array $tags);
public function addArticle($title, $content, $author, $category, $tags);
/*
* Ein angemeldeter Nutzer bearbeitet einen Beitrag.
+1 -1
View File
@@ -38,7 +38,7 @@ class LocalArticleManager implements ArticleManagerDAO {
);
}
public function addArticle($title, $content, $author, $category, array $tags)
public function addArticle($title, $content, $author, $category, $tags)
{
$articles = $this->getAllArticles();