[various] Fix hook function type-hints #1268

Merged
MrPetovan merged 1 commit from bug/fatal-errors into develop 2022-06-27 06:40:51 +02:00
MrPetovan commented 2022-06-27 01:37:08 +02:00 (Migrated from github.com)
- Address https://friendica.xyz/display/adf174d5-1562-b8d8-53d7-ffd690518338
Quix0r commented 2022-06-30 13:00:27 +02:00 (Migrated from github.com)

So *_footer() and *_head() must have 2nd parameter to be string in all addons? Plus I like to name the 2nd one consistently $body if you don't mind.

So `*_footer()` and `*_head()` must have 2nd parameter to be `string` in all addons? Plus I like to name the 2nd one consistently `$body` if you don't mind.
MrPetovan commented 2022-06-30 17:36:19 +02:00 (Migrated from github.com)

Sure, feel free to go at it.

Sure, feel free to go at it.
Sign in to join this conversation.
No description provided.