PHP/Compat

* fixed misc issues Intellisense was nice enough to highlight.
 * mostly deprecated usage of uninitialized parameters
 * class GenericPage still needs a long, hard look and a refactor
This commit is contained in:
Sarjuuk
2024-03-11 19:40:30 +01:00
parent 3e6e43fd68
commit ec1a2afc5f
75 changed files with 387 additions and 223 deletions

View File

@@ -8,6 +8,10 @@ if (!defined('AOWOW_REVISION'))
// tabId 1: Tools g_initHeader()
class UtilityPage extends GenericPage
{
protected $lvTabs = [];
protected $category = [];
protected $h1Links = '';
protected $tpl = 'list-page-generic';
protected $path = [1, 8];
protected $tabId = 1;
@@ -42,8 +46,6 @@ class UtilityPage extends GenericPage
else
$this->name .= Lang::main('colon') . Lang::main('mostComments', 0);
}
$this->lvTabs = [];
}
public function display(string $override = '') : void