refactoring

This commit is contained in:
2026-05-29 13:05:28 +02:00
parent ed1815b78e
commit 18810dcfe2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ interface ArticleManagerDAO
* Mögliche Exceptions:
* TODO Fehlerbeschreibung hinzufügen & tags hinzufügen
*/
public function addArticle(string $title, string $content, string $author, string $category, string $tags);
public function addArticle($title, $content, $author, $category, $tags);
/**
* Ein angemeldeter Nutzer bearbeitet einen Beitrag.
+1 -1
View File
@@ -45,7 +45,7 @@ class LocalArticleManager implements ArticleManagerDAO {
);
}
public function addArticle(string $title, string $content, string $author, string $category, string $tags)
public function addArticle($title, $content, $author, $category, $tags)
{
$articles = $this->getAllArticles();