Code Duplication    Length = 8-8 lines in 2 locations

class.jetpack.php 1 location

@@ 4964-4971 (lines=8) @@
4961
	 *
4962
	 * @since 5.4
4963
	 **/
4964
	public static function set_min_time_limit( $min_timeout ) {
4965
		$timeout = self::get_max_execution_time();
4966
		if ( $timeout < $min_timeout ) {
4967
			$timeout = $min_timeout;
4968
			set_time_limit( $timeout );
4969
		}
4970
		return $timeout;
4971
	}
4972
4973
4974
	/**

packages/connection/src/Manager.php 1 location

@@ 391-398 (lines=8) @@
388
	 * @since 5.4
389
	 * @param Integer $min_timeout the minimum timeout value.
390
	 **/
391
	public function set_min_time_limit( $min_timeout ) {
392
		$timeout = $this->get_max_execution_time();
393
		if ( $timeout < $min_timeout ) {
394
			$timeout = $min_timeout;
395
			set_time_limit( $timeout );
396
		}
397
		return $timeout;
398
	}
399
400
	/**
401
	 * Get our assumed site creation date.