Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-09-21 18:24:00 +0300
committerMaxence Lange <maxence@artificial-owl.com>2019-09-21 18:24:00 +0300
commit5f298928a950e1fe23847dbc7db15a0b2a711bcd (patch)
tree9b7be86c4b436a20df7788f6bcf1dac2888e67b6
parentaedb903ca6a45ef65f2f1842dcb3e011cfe82e73 (diff)
cast int
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r--lib/Service/RunningService.php2
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;