fixed php 8.1 type bugs

This commit is contained in:
Dennis Eichhorn 2022-03-22 17:34:58 +01:00
parent 185c1ef998
commit ab14931f1b
5 changed files with 5 additions and 5 deletions

View File

@ -440,7 +440,7 @@ class Event
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function jsonSerialize() public function jsonSerialize() : mixed
{ {
return $this->toArray(); return $this->toArray();
} }

View File

@ -97,7 +97,7 @@ class EventAttribute implements \JsonSerializable, ArrayableInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function jsonSerialize() public function jsonSerialize() : mixed
{ {
return $this->toArray(); return $this->toArray();
} }

View File

@ -165,7 +165,7 @@ class EventAttributeType implements \JsonSerializable, ArrayableInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function jsonSerialize() public function jsonSerialize() : mixed
{ {
return $this->toArray(); return $this->toArray();
} }

View File

@ -129,7 +129,7 @@ class EventAttributeTypeL11n implements \JsonSerializable, ArrayableInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function jsonSerialize() public function jsonSerialize() : mixed
{ {
return $this->toArray(); return $this->toArray();
} }

View File

@ -248,7 +248,7 @@ class EventAttributeValue implements \JsonSerializable, ArrayableInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function jsonSerialize() public function jsonSerialize() : mixed
{ {
return $this->toArray(); return $this->toArray();
} }