Skip to content

Commit 7cbc70e

Browse files
authored
Readme: fix typo (#35)
1 parent 87f3957 commit 7cbc70e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ foreach ($categories as $category) {
8484
foreach ($category->getArticles() as $article) {
8585
echo $article->getTitle(), "\n";
8686

87-
foreach ($articles->getTags() as $tag) {
87+
foreach ($article->getTags() as $tag) {
8888
echo $tag->getLabel(), "\n";
8989
}
9090

91-
foreach ($articles->getComments() as $comment) {
91+
foreach ($article->getComments() as $comment) {
9292
echo $comment->getText(), "\n";
9393
}
9494
}

0 commit comments

Comments
 (0)