mirror of
https://github.com/Karaka-Management/oms-Tag.git
synced 2026-02-08 11:38:40 +00:00
fixed php 8.1 type bugs
This commit is contained in:
parent
619ba4e72b
commit
53dd0f351b
|
|
@ -164,7 +164,7 @@ class Tag implements \JsonSerializable, ArrayableInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ class TagL11n implements \JsonSerializable, ArrayableInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user