Skip to content

Conversation

@modrictin
Copy link
Contributor

No description provided.

@ryanmitchell
Copy link
Contributor

Thanks. What error does this solve?

@modrictin
Copy link
Contributor Author

Hey @ryanmitchell ,

If you call \Statamic\Facades\Revision::make() it will throw an error:

TypeError Statamic\Eloquent\Revisions\RevisionRepository::make(): Return value must be of type Statamic\Contracts\Revisions\Revision, string returned.

@modrictin
Copy link
Contributor Author

Sorry if I acted too fast and skipped the opening of the issue :)

If I have to, I will open one.

@ryanmitchell
Copy link
Contributor

Nope that’s fine- just wanted some context.

@modrictin
Copy link
Contributor Author

I understand, thanks for everything :)

@ryanmitchell ryanmitchell merged commit 7b7fc60 into statamic:master Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants