testing
This commit is contained in:
@@ -72,7 +72,7 @@ class LocalArticleManager implements ArticleManagerDAO {
|
||||
// TODO: Implement deleteArticle() method.
|
||||
}
|
||||
|
||||
public function getArticle($id)
|
||||
public function getArticle($id): Article
|
||||
{
|
||||
$articles = $this->getAllArticles();
|
||||
|
||||
@@ -82,7 +82,7 @@ class LocalArticleManager implements ArticleManagerDAO {
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
return new Article(0, "", "", "", "", "", "");
|
||||
}
|
||||
|
||||
public function getAllArticles(): array
|
||||
|
||||
Reference in New Issue
Block a user