@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | * @return bool |
| 200 | 200 | */ |
| 201 | 201 | public function isAlreadyRunning(): bool { |
| 202 | - $ttl = (int) $this->configService->getAppValue(ConfigService::TICK_TTL); |
|
| 202 | + $ttl = (int)$this->configService->getAppValue(ConfigService::TICK_TTL); |
|
| 203 | 203 | $ticks = $this->tickRequest->getTicksByStatus('run'); |
| 204 | 204 | |
| 205 | 205 | $isAlreadyRunning = false; |
@@ -238,18 +238,18 @@ discard block |
||
| 238 | 238 | $preAction = $tick->getAction(); |
| 239 | 239 | |
| 240 | 240 | if ($preAction !== '') { |
| 241 | - $preActionTotal = $tick->getInfoFloat($preAction . 'Total', 0); |
|
| 242 | - $preActionStart = $tick->getInfoFloat($preAction . 'Init', 0); |
|
| 241 | + $preActionTotal = $tick->getInfoFloat($preAction.'Total', 0); |
|
| 242 | + $preActionStart = $tick->getInfoFloat($preAction.'Init', 0); |
|
| 243 | 243 | |
| 244 | 244 | if ($preActionStart > 0) { |
| 245 | 245 | |
| 246 | 246 | $preActionTotal += ($now - $preActionStart); |
| 247 | - $tick->setInfoFloat($preAction . 'Total', $preActionTotal); |
|
| 248 | - $tick->unsetInfo($preAction . 'Init'); |
|
| 247 | + $tick->setInfoFloat($preAction.'Total', $preActionTotal); |
|
| 248 | + $tick->unsetInfo($preAction.'Init'); |
|
| 249 | 249 | } |
| 250 | 250 | } |
| 251 | 251 | $tick->setAction($action) |
| 252 | - ->setInfoFloat($action . 'Init', $now); |
|
| 252 | + ->setInfoFloat($action.'Init', $now); |
|
| 253 | 253 | } |
| 254 | 254 | |
| 255 | 255 | |