statamic / cms

The core Laravel CMS Composer package
https://statamic.com
Other
4.11k stars 538 forks source link

[5.x] Fix bad import of FieldtypeRepository in Field #11123

Closed Jamesking56 closed 1 week ago

Jamesking56 commented 1 week ago

Facade\Statamic\Fields\FieldtypeRepository does not exist and I believe it should be Statamic\Fields\FieldtypeRepository

This caused an exception to appear in our Sentry logs.

duncanmcclean commented 1 week ago

That import looks right to me. We're using Laravel's real-time facades feature so we can trat classes as if they were "proper" facades.

What's the error you're seeing?