src/AuthenticatorOptionsTrait.php
protected function set_period(int $period):void{

		if($period < 15 || $period > 60){
			throw new AuthenticatorException('Invalid period: '.$period);
		}

		$this->period = $period;
	}
protected function set_period(int $period):void{

		if($period < 15 || $period > 60){
			throw new AuthenticatorException('Invalid period: '.$period);
		}

		$this->period = $period;
	}
protected function set_period ( int $ period ) : void { if ( $ period < 15 || $ period > 60 ) { throw new AuthenticatorException ( 'Invalid period: ' . $ period ) ; } $ this -> period = $ period ; }
Sets the period to a value between 10 and 60 seconds

@param int $period

@return void
@throws \chillerlan\Authenticator\AuthenticatorException
Sets the period to a value between 10 and 60 seconds