datetime is jsonserializable, didn't know that :)

This commit is contained in:
Dennis Eichhorn 2019-12-29 14:18:46 +01:00
parent a78d72a510
commit fc3111cf5c

View File

@ -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,
];