drop php7.3 support, make use of 7.4 features

This commit is contained in:
Shish
2021-03-14 23:43:50 +00:00
parent c558ee3bdb
commit 77f7121e26
296 changed files with 1571 additions and 2039 deletions

View File

@@ -21,8 +21,8 @@ function __extman_extactive(ExtensionInfo $a): bool
class ExtensionAuthor
{
public $name;
public $email;
public string $name;
public ?string $email;
public function __construct(string $name, ?string $email)
{
@@ -34,7 +34,7 @@ class ExtensionAuthor
class ExtManager extends Extension
{
/** @var ExtManagerTheme */
protected $theme;
protected ?Themelet $theme;
public function onPageRequest(PageRequestEvent $event)
{