fixed php 8.1 type bugs

This commit is contained in:
Dennis Eichhorn 2022-03-22 17:34:58 +01:00
parent dbb8b2aeb6
commit e388f3e248
7 changed files with 7 additions and 7 deletions

View File

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

View File

@ -97,7 +97,7 @@ class ItemAttribute 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 ItemAttributeType 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 ItemAttributeTypeL11n 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 ItemAttributeValue implements \JsonSerializable, ArrayableInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function jsonSerialize() public function jsonSerialize() : mixed
{ {
return $this->toArray(); return $this->toArray();
} }

View File

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

View File

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