lic function storeRemainingExecutionLimit($likelyExceeded, $runner, $processedActions, $executionTime, $maxExecutionTime): bool { $newLimit = ($maxExecutionTime - $executionTime) - self::EXECUTION_LIMIT_MARGIN; $this->remainingExecutionLimit = max($newLimit, 0); return (bool)$likelyExceeded; } }