[core] a load more type hints, and fix bugs revealed by type hints

This commit is contained in:
Shish
2024-01-20 14:10:59 +00:00
parent 373be4e05c
commit b60c3fe362
158 changed files with 1532 additions and 616 deletions

View File

@ -38,7 +38,7 @@ class CustomHtmlHeaders extends Extension
$this->handle_modified_page_title();
}
private function handle_custom_html_headers()
private function handle_custom_html_headers(): void
{
global $config, $page;
@ -48,7 +48,7 @@ class CustomHtmlHeaders extends Extension
}
}
private function handle_modified_page_title()
private function handle_modified_page_title(): void
{
global $config, $page;