Skip to content

Commit b4fb6b0

Browse files
committed
spelling fix
1 parent ff92e4b commit b4fb6b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage-examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ $tags = $article->tags; // return Collection the actual tags (is slower than usi
2727
$article->tagNames(); // get array of related tag names
2828

2929
Article::withAnyTag('Gardening, Cooking')->get(); // fetch articles with any tag listed
30-
Article::withAnyTag(['Gardening','Cooking'])->get(); // different sytax, same result as above
31-
Article::withAnyTag('Gardening','Cooking')->get(); // different sytax, same result as above
30+
Article::withAnyTag(['Gardening','Cooking'])->get(); // different syntax, same result as above
31+
Article::withAnyTag('Gardening','Cooking')->get(); // different syntax, same result as above
3232

3333
Article::withAllTags('Gardening, Cooking')->get(); // only fetch articles with all the tags
3434
Article::withAllTags(['Gardening', 'Cooking'])->get();

0 commit comments

Comments
 (0)