datetime is jsonserializable, didn't know that :)

This commit is contained in:
Dennis Eichhorn 2019-12-29 14:18:46 +01:00
parent ec6cb04885
commit 69210f6fcb
2 changed files with 3 additions and 3 deletions

View File

@ -259,8 +259,8 @@ class Position implements ArrayableInterface, \JsonSerializable
'id' => $this->id,
'name' => $this->name,
'description' => $this->description,
'department' => $this->department,
'parent' => $this->parent,
'department' => $this->department,
'parent' => $this->parent,
];
}

View File

@ -225,7 +225,7 @@ class Unit implements ArrayableInterface, \JsonSerializable
'id' => $this->id,
'name' => $this->name,
'description' => $this->description,
'parent' => $this->parent,
'parent' => $this->parent,
];
}