fixed php 8.1 type bugs

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

View File

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

View File

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

View File

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

View File

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