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

@@ -3,7 +3,7 @@
class LinkImage extends Extension
{
/** @var LinkImageTheme */
protected $theme;
protected ?Themelet $theme;
public function onDisplayingImage(DisplayingImageEvent $event)
{
@@ -23,7 +23,7 @@ class LinkImage extends Extension
$config->set_default_string("ext_link-img_text-link_format", '$title - $id ($ext $size $filesize)');
}
private function data(Image $image)
private function data(Image $image): array
{
global $config;