fixed php 8.1 type bugs

This commit is contained in:
Dennis Eichhorn 2022-03-22 17:34:58 +01:00
parent cc95a0291f
commit 09c7ab7cfe
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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