Jump to content

Translations:Manual:Hooks/1365/en

From wikiNonStop

It is important that abortable hooks allow a void return. The majority of hook consumers do not make use of the abortable feature, and thus should be able to type their implementation to $1 and safely avoid the need to return something, and with it benefit from having no room for mistakingly returning false.