The method trigger() does not exist on Elgg\HooksRegistrationService. Since it exists in all sub-types, consider adding an abstract or default implementation to Elgg\HooksRegistrationService.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation