mirror of
https://github.com/Karaka-Management/oms-ContractManagement.git
synced 2026-01-28 01:18:42 +00:00
fixed php 8.1 type bugs
This commit is contained in:
parent
ef624e1adf
commit
9926e5cd08
|
|
@ -158,7 +158,7 @@ class Contract
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ class ContractType implements \JsonSerializable, ArrayableInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ class ContractTypeL11n implements \JsonSerializable, ArrayableInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user