diff --git a/php/model/ArticleManagerDAO.php b/php/model/ArticleManagerDAO.php index 69d96cf..2d7f3f7 100644 --- a/php/model/ArticleManagerDAO.php +++ b/php/model/ArticleManagerDAO.php @@ -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. diff --git a/php/model/LocalArticleManager.php b/php/model/LocalArticleManager.php index 2789da9..8836b72 100644 --- a/php/model/LocalArticleManager.php +++ b/php/model/LocalArticleManager.php @@ -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();