public function setFontSize($min, $max = null) {

		if(false === ('-' . intval($min) == '-' . $min)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type integer, "%s" given', __METHOD__, gettype($min)), E_USER_ERROR);
		}

		if(null !== $max && false === ('-' . intval($max) == '-' . $max)) {
			return trigger_error(sprintf('Argument 2 passed to %s() must be of the type integer, "%s" given', __METHOD__, gettype($max)), E_USER_ERROR);
		}

		$this -> fontsize = ['min' => $min, 'max' => ($max !== null ? $max : $min)];

		return $this;
	}
public function setFontSize($min, $max = null) {

		if(false === ('-' . intval($min) == '-' . $min)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type integer, "%s" given', __METHOD__, gettype($min)), E_USER_ERROR);
		}

		if(null !== $max && false === ('-' . intval($max) == '-' . $max)) {
			return trigger_error(sprintf('Argument 2 passed to %s() must be of the type integer, "%s" given', __METHOD__, gettype($max)), E_USER_ERROR);
		}

		$this -> fontsize = ['min' => $min, 'max' => ($max !== null ? $max : $min)];

		return $this;
	}
public function setFontSize ( $ min , $ max = null ) { if ( false === ( '-' . intval ( $ min ) == '-' . $ min ) ) { return trigger_error ( sprintf ( 'Argument 1 passed to %s() must be of the type integer, "%s" given' , __METHOD__ , gettype ( $ min ) ) , E_USER_ERROR ) ; } if ( null !== $ max && false === ( '-' . intval ( $ max ) == '-' . $ max ) ) { return trigger_error ( sprintf ( 'Argument 2 passed to %s() must be of the type integer, "%s" given' , __METHOD__ , gettype ( $ max ) ) , E_USER_ERROR ) ; } $ this -> fontsize = [ 'min' => $ min , 'max' => ( $ max !== null ? $ max : $ min ) ] ; return $ this ; }
Set the fontsize min. and max. If no max. is set, max. will be the same as min.
@param int $min
@param int $max
@return sFire\Captcha\Captcha
Set the fontsize min . and max . If no max . is set max . will be the same as min .