Jump to content

Translations:Manual:Hooks/1365/en

From wikiNonStop
Revision as of 11:47, 17 April 2026 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.