refactoring
This commit is contained in:
@@ -17,7 +17,7 @@ interface ArticleManagerDAO
|
|||||||
* Mögliche Exceptions:
|
* Mögliche Exceptions:
|
||||||
* TODO Fehlerbeschreibung hinzufügen & tags hinzufügen
|
* 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.
|
* Ein angemeldeter Nutzer bearbeitet einen Beitrag.
|
||||||
|
|||||||
@@ -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();
|
$articles = $this->getAllArticles();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user