mirror of
https://github.com/Karaka-Management/oms-Tag.git
synced 2026-01-31 00:08:40 +00:00
datetime is jsonserializable, didn't know that :)
This commit is contained in:
parent
a78d72a510
commit
fc3111cf5c
|
|
@ -186,7 +186,7 @@ class Tag implements ArrayableInterface, \JsonSerializable
|
|||
public function toArray() : array
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'id' => $this->id,
|
||||
'title' => $this->title,
|
||||
'color' => $this->color,
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user