TimeLine: Always parse `int` to validateTime()
Php < 8.1 converts fetched time(stamp) to string. This must always be an int.
This commit is contained in:
parent
c40cfb41a8
commit
ea1e5f9245
|
@ -382,7 +382,7 @@ class TimeLine implements IteratorAggregate
|
||||||
return array_filter(
|
return array_filter(
|
||||||
$this->resultset,
|
$this->resultset,
|
||||||
function ($e) use ($range) {
|
function ($e) use ($range) {
|
||||||
return $range->validateTime($e->time);
|
return $range->validateTime((int) $e->time);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue