From 3c2a51c8365b47ea78a3f635dbd8507f89cef525 Mon Sep 17 00:00:00 2001 From: GhostvOne Date: Fri, 16 Aug 2024 11:26:16 +0200 Subject: [PATCH] Description for translated() scope is wrong Description for translated() scope is wrong. If I have no translation, translated() scope is returning nothing. But with at least one translation translated() scope return post --- docs/package/scopes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/package/scopes.md b/docs/package/scopes.md index 05843b9..fcc5bc8 100644 --- a/docs/package/scopes.md +++ b/docs/package/scopes.md @@ -18,7 +18,7 @@ Post::notTranslatedIn('en')->get(); ## translated\(\) -Returns all posts not being translated in any locale +Returns all posts with existing translations ```php Post::translated()->get();