File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
2929Article::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
3333Article::withAllTags('Gardening, Cooking')->get(); // only fetch articles with all the tags
3434Article::withAllTags(['Gardening', 'Cooking'])->get();
You can’t perform that action at this time.
0 commit comments