Added more known type-hints

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2022-06-08 17:26:47 +02:00
parent 98954dd14e
commit 143e4c4a18
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
2 changed files with 18 additions and 19 deletions

View file

@ -2769,7 +2769,7 @@ class Item
* @hook prepare_body ('item'=>item array, 'html'=>body string, 'is_preview'=>boolean, 'filter_reasons'=>string array) after first bbcode to html
* @hook prepare_body_final ('item'=>item array, 'html'=>body string) after attach icons and blockquote special case handling (spoiler, author)
*/
public static function prepareBody(array &$item, $attach = false, $is_preview = false, $only_cache = false)
public static function prepareBody(array &$item, bool $attach = false, bool $is_preview = false, bool $only_cache = false): string
{
$a = DI::app();
Hook::callAll('prepare_body_init', $item);