You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running php craft make service states to add a method public static function config() to the module in order to register the service as a component, but that method isn't used anywhere by craft
Additional info
Craft version: 4.4.16.1
PHP version: 8.1.12
The text was updated successfully, but these errors were encountered:
It was a bug to recommend adding a config() method there – that’s a plugin-specific feature. Modules are configured via config/app.php. So you should change this:
Description
Running
php craft make service
states to add a methodpublic static function config()
to the module in order to register the service as a component, but that method isn't used anywhere by craftAdditional info
The text was updated successfully, but these errors were encountered: