Skip to content

Commit 27a98a2

Browse files
committed
Adjust readme
1 parent f5d35ce commit 27a98a2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,16 +302,11 @@ class ShowArticles extends Component
302302
You can use the built-in Synthesizers to make your Livewire components aware of Statamic specific data types.
303303
304304
```php
305-
use Statamic\Entries\EntryCollection;
306305
use Statamic\Entries\Entry;
307306

308307
class Foo extends Component
309308
{
310-
public EntryCollection $entries;
311-
312-
public function mount(){
313-
$this->entries = \Statamic\Facades\Entry::all();
314-
}
309+
public Entry $entries;
315310
}
316311
```
317312

0 commit comments

Comments
 (0)