phpstan level 2

This commit is contained in:
slawkens
2024-02-01 21:30:34 +01:00
parent 8705d3eedd
commit 42ce80170e
16 changed files with 56 additions and 21 deletions

View File

@@ -102,6 +102,9 @@ if($status_interval && $status_timeout < $status_interval) {
$status_timeout = $status_interval;
}
/**
* @var int $status_timeout
*/
if($status['lastCheck'] + $status_timeout < time()) {
updateStatus();
}