Describe what the issue is
The package can not be installed when you run the command composer require statamic/eloquent-entries-example.
What should be happening
The package should install as expected when the command is run.
What is happening
A fatal error is occurring: Declaration of Statamic\Eloquent\Entries\CollectionRepository::updateEntryUris($collection) must be compatible with Statamic\Stache\Repositories\CollectionRepository::updateEntryUris(Statamic\Contracts\Entries\Collection $collection, $ids = null)
Steps to replicate
- Follow instructions as per the repo.
- Run
composer require statamic/eloquent-entries-example.
- Observe error.
Any other comments
PR to resolve it: #2