fixed php 8.1 type bugs

This commit is contained in:
Dennis Eichhorn 2022-03-22 17:34:58 +01:00
parent ef624e1adf
commit 9926e5cd08
3 changed files with 3 additions and 3 deletions

View File

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

View File

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