mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-02-15 16:58:43 +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
|
* @link https://karaka.app
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class Comment
|
class Comment implements \JsonSerializable
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* ID.
|
* ID.
|
||||||
|
|
@ -160,7 +160,7 @@ class Comment
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function jsonSerialize() : array
|
public function jsonSerialize() : mixed
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user