Code Duplication    Length = 8-8 lines in 2 locations

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.

class.jetpack.php 1 location

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