Skip to content

Commit

Permalink
Merge pull request #12 from a-p-o/patch-1
Browse files Browse the repository at this point in the history
Fix typo in lorem.sentences
  • Loading branch information
drager authored Sep 4, 2019
2 parents 0e41b71 + 6828718 commit 94b3485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/lorem.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ class Lorem {
/// faker.lorem.sentences(5);
/// ```
List<String> sentences(numberOfSentences) {
return Iterable<int>.generate(numberOfSentences).map((_) => word()).toList();
return Iterable<int>.generate(numberOfSentences).map((_) => sentence()).toList();
}
}

0 comments on commit 94b3485

Please sign in to comment.