Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion database/collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down