ensure dbal return types for mysql and sqlite database

This commit is contained in:
thrillfall 2021-10-05 23:26:57 +02:00
parent a11850e995
commit 9271a5063e

View File

@ -45,4 +45,14 @@ class EpisodeActionEntity extends Entity implements JsonSerializable {
public function getStarted() : int {
return (int) $this->started;
}
public function getPosition(): int
{
return (int) $this->position;
}
public function getTotal(): int
{
return (int) $this->total;
}
}