Added the TrackedTime model

This commit is contained in:
Cédric Belin
2018-11-24 22:43:17 +01:00
parent 45cb20e939
commit 67669af6ac
4 changed files with 168 additions and 4 deletions

View File

@ -13,6 +13,5 @@ function main(): PushEvent {
$data = json_decode((string) file_get_contents('php://input'));
if (!is_object($data)) throw new UnexpectedValueException('Invalid payload data.');
return PushEvent::fromJson($data);
}