Misc/Fixup

* fixed return type declaration to match inherited class
This commit is contained in:
Sarjuuk
2025-03-04 00:22:13 +01:00
parent 8b59551905
commit 44bd9f521b
2 changed files with 2 additions and 2 deletions

View File

@@ -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')); parent::notFound($title ?: Util::ucFirst(Lang::profiler('profiler')), $msg ?: Lang::profiler('notFound', 'arenateam'));
} }

View File

@@ -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')); parent::notFound($title ?: Util::ucFirst(Lang::profiler('profiler')), $msg ?: Lang::profiler('notFound', 'guild'));
} }