forked from Cavemanon/cavepaintings
drop php7.3 support, make use of 7.4 features
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
class NumericScoreSetEvent extends Event
|
||||
{
|
||||
public $image_id;
|
||||
public $user;
|
||||
public $score;
|
||||
public int $image_id;
|
||||
public User $user;
|
||||
public int $score;
|
||||
|
||||
public function __construct(int $image_id, User $user, int $score)
|
||||
{
|
||||
@@ -18,7 +18,7 @@ class NumericScoreSetEvent extends Event
|
||||
class NumericScore extends Extension
|
||||
{
|
||||
/** @var NumericScoreTheme */
|
||||
protected $theme;
|
||||
protected ?Themelet $theme;
|
||||
|
||||
public function onDisplayingImage(DisplayingImageEvent $event)
|
||||
{
|
||||
|
Reference in New Issue
Block a user