Code Duplication    Length = 8-8 lines in 2 locations

class.jetpack.php 1 location

@@ 4986-4993 (lines=8) @@
4983
	 *
4984
	 * @since 5.4
4985
	 **/
4986
	public static function set_min_time_limit( $min_timeout ) {
4987
		$timeout = self::get_max_execution_time();
4988
		if ( $timeout < $min_timeout ) {
4989
			$timeout = $min_timeout;
4990
			set_time_limit( $timeout );
4991
		}
4992
		return $timeout;
4993
	}
4994
4995
4996
	/**

packages/connection/src/Manager.php 1 location

@@ 352-359 (lines=8) @@
349
	 *
350
	 * @since 5.4
351
	 **/
352
	public function set_min_time_limit( $min_timeout ) {
353
		$timeout = $this->get_max_execution_time();
354
		if ( $timeout < $min_timeout ) {
355
			$timeout = $min_timeout;
356
			set_time_limit( $timeout );
357
		}
358
		return $timeout;
359
	}
360
361
	/**
362
	 * Get our assumed site creation date.