mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Fixup
* fixed return type declaration to match inherited class
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
@@ -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'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user