mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-01-27 15:58:42 +00:00
test fixes
This commit is contained in:
parent
0fddab6a3b
commit
71bc360c39
|
|
@ -26,7 +26,7 @@ use Modules\Media\Models\Media;
|
|||
* @link https://karaka.app
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class Comment
|
||||
class Comment implements \JsonSerializable
|
||||
{
|
||||
/**
|
||||
* ID.
|
||||
|
|
@ -160,7 +160,7 @@ class Comment
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize() : array
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user