From 44bd9f521b19be9ccbac0af82695b07a6963eecc Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Tue, 4 Mar 2025 00:22:13 +0100 Subject: [PATCH] Misc/Fixup * fixed return type declaration to match inherited class --- pages/arenateam.php | 2 +- pages/guild.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/arenateam.php b/pages/arenateam.php index ebb0f7eb..41b82c1d 100644 --- a/pages/arenateam.php +++ b/pages/arenateam.php @@ -132,7 +132,7 @@ class ArenaTeamPage extends GenericPage } } - public function notFound(string $title = '', string $msg = '') : void + public function notFound(string $title = '', string $msg = '') : never { parent::notFound($title ?: Util::ucFirst(Lang::profiler('profiler')), $msg ?: Lang::profiler('notFound', 'arenateam')); } diff --git a/pages/guild.php b/pages/guild.php index 53c82658..47e323ef 100644 --- a/pages/guild.php +++ b/pages/guild.php @@ -136,7 +136,7 @@ class GuildPage extends GenericPage } } - public function notFound(string $title = '', string $msg = '') : void + public function notFound(string $title = '', string $msg = '') : never { parent::notFound($title ?: Util::ucFirst(Lang::profiler('profiler')), $msg ?: Lang::profiler('notFound', 'guild')); }