Issue #3278208 by dpi: Deprecate and replace ReplaceOriginalHook::originalInvoker with an attribute for callable-typed parameter