HookStyleListener - Convey hook results. Refine type-hints.
authorTim Otten <totten@civicrm.org>
Mon, 31 May 2021 07:27:04 +0000 (00:27 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 31 May 2021 07:31:47 +0000 (00:31 -0700)
commit65bc654315177d9a1fade48ba2bb190203e8c316
treea4ccc1702489c42ac767cac35b1dd2650a386426
parent60a1dbc12b346f70b294bfd9a3d0735eddea1876
HookStyleListener - Convey hook results. Refine type-hints.

Note: This is uncommon and discouraged for new hooks, but some hooks require returning values, e.g

```php
function hook_foo() {
  return ['my-data'];
}
```

This should fix compatibility with those.
Civi/Core/Event/HookStyleListener.php