ensure dbal return types for mysql and sqlite database
This commit is contained in:
parent
a11850e995
commit
9271a5063e
@ -45,4 +45,14 @@ class EpisodeActionEntity extends Entity implements JsonSerializable {
|
|||||||
public function getStarted() : int {
|
public function getStarted() : int {
|
||||||
return (int) $this->started;
|
return (int) $this->started;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getPosition(): int
|
||||||
|
{
|
||||||
|
return (int) $this->position;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getTotal(): int
|
||||||
|
{
|
||||||
|
return (int) $this->total;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user