From 871257ede22a3c1a1e054b64a139123665f4a402 Mon Sep 17 00:00:00 2001 From: thrillfall Date: Tue, 5 Oct 2021 23:16:29 +0200 Subject: [PATCH] make sure we always return int for episode_action.started --- lib/Db/EpisodeAction/EpisodeActionEntity.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Db/EpisodeAction/EpisodeActionEntity.php b/lib/Db/EpisodeAction/EpisodeActionEntity.php index da35ffd..c665259 100644 --- a/lib/Db/EpisodeAction/EpisodeActionEntity.php +++ b/lib/Db/EpisodeAction/EpisodeActionEntity.php @@ -41,4 +41,8 @@ class EpisodeActionEntity extends Entity implements JsonSerializable { { return (int) $this->timestampEpoch; } + + public function getStarted() : int { + return (int) $this->started; + } }