From 56c1dbe025c8643440f96316783d42f810a44dff Mon Sep 17 00:00:00 2001 From: WebVPF <61043464+WebVPF@users.noreply.github.com> Date: Fri, 18 Apr 2025 11:42:16 +0300 Subject: [PATCH] Fix syntax --- database/collection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/collection.md b/database/collection.md index 6495852d..a25bb90a 100644 --- a/database/collection.md +++ b/database/collection.md @@ -193,7 +193,7 @@ The `DataFeed` class mimics a regular model and supports `limit` and `paginate` The next example will combine the User, Post and Comment models in to a single collection and returns the first 10 records. ```php -$feed = new Winter\Storm\Database\DataFeed; +$feed = new \Winter\Storm\Database\DataFeed; $feed->add('user', new User); $feed->add('post', Post::where('category_id', 7));