Code Duplication    Length = 8-8 lines in 2 locations

class.jetpack.php 1 location

@@ 4871-4878 (lines=8) @@
4868
	 *
4869
	 * @since 5.4
4870
	 **/
4871
	public static function set_min_time_limit( $min_timeout ) {
4872
		$timeout = self::get_max_execution_time();
4873
		if ( $timeout < $min_timeout ) {
4874
			$timeout = $min_timeout;
4875
			set_time_limit( $timeout );
4876
		}
4877
		return $timeout;
4878
	}
4879
4880
4881
	/**

packages/connection/src/Manager.php 1 location

@@ 787-794 (lines=8) @@
784
	 * @since 5.4
785
	 * @param Integer $min_timeout the minimum timeout value.
786
	 **/
787
	public function set_min_time_limit( $min_timeout ) {
788
		$timeout = $this->get_max_execution_time();
789
		if ( $timeout < $min_timeout ) {
790
			$timeout = $min_timeout;
791
			set_time_limit( $timeout );
792
		}
793
		return $timeout;
794
	}
795
796
	/**
797
	 * Get our assumed site creation date.