src/BotManager.php
public function getLoopTime(): int
    {
        $loop_time = $this->params->getScriptParam('l');

        if (null === $loop_time) {
            return 0;
        }

        if (\is_string($loop_time) && '' === trim($loop_time)) {
            return 604800; // Default to 7 days.
        }

        return max(0, (int) $loop_time);
    }
public function getLoopTime(): int
    {
        $loop_time = $this->params->getScriptParam('l');

        if (null === $loop_time) {
            return 0;
        }

        if (\is_string($loop_time) && '' === trim($loop_time)) {
            return 604800; // Default to 7 days.
        }

        return max(0, (int) $loop_time);
    }
public function getLoopTime ( ) : int { $ loop_time = $ this -> params -> getScriptParam ( 'l' ) ; if ( null === $ loop_time ) { return 0 ; } if ( \ is_string ( $ loop_time ) && '' === trim ( $ loop_time ) ) { return 604800 ; // Default to 7 days. } return max ( 0 , ( int ) $ loop_time ) ; }
Get the number of seconds the script should loop.

@return int
Get the number of seconds the script should loop .