Jump to content

Translations:Manual:Hooks/1361/en

From wikiNonStop

The interface for void hooks must include a native return type hint like $1, so that extensions that choose to implement the interface (as opposed to handling it without interface validation), benefit from static analysis and thus avoid accidentally returning something.