diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-09-21 18:24:00 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-09-21 18:24:00 +0300 |
commit | 5f298928a950e1fe23847dbc7db15a0b2a711bcd (patch) | |
tree | 9b7be86c4b436a20df7788f6bcf1dac2888e67b6 | |
parent | aedb903ca6a45ef65f2f1842dcb3e011cfe82e73 (diff) |
cast int
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | lib/Service/RunningService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/RunningService.php b/lib/Service/RunningService.php index ea6c21e..1cfc1f8 100644 --- a/lib/Service/RunningService.php +++ b/lib/Service/RunningService.php @@ -199,7 +199,7 @@ class RunningService { * @return bool */ public function isAlreadyRunning(): bool { - $ttl = $this->configService->getAppValue(ConfigService::TICK_TTL); + $ttl = (int) $this->configService->getAppValue(ConfigService::TICK_TTL); $ticks = $this->tickRequest->getTicksByStatus('run'); $isAlreadyRunning = false; |