[everything] bulk set event handler return types to void

This commit is contained in:
Shish
2024-01-15 11:52:35 +00:00
parent 985d34aedd
commit bb9ab613ce
106 changed files with 591 additions and 591 deletions

View File

@@ -6,7 +6,7 @@ namespace Shimmie2;
class LogConsole extends Extension
{
public function onInitExt(InitExtEvent $event)
public function onInitExt(InitExtEvent $event): void
{
global $config;
$config->set_default_bool("log_console_access", true);
@@ -14,7 +14,7 @@ class LogConsole extends Extension
$config->set_default_int("log_console_level", SCORE_LOG_INFO);
}
public function onPageRequest(PageRequestEvent $event)
public function onPageRequest(PageRequestEvent $event): void
{
global $config, $page;
@@ -40,7 +40,7 @@ class LogConsole extends Extension
*/
}
public function onLog(LogEvent $event)
public function onLog(LogEvent $event): void
{
global $config;
if ($event->priority >= $config->get_int("log_console_level")) {