Code Duplication    Length = 8-8 lines in 2 locations

projects/packages/connection/src/class-manager.php 1 location

@@ 1154-1161 (lines=8) @@
1151
	 * @since 5.4
1152
	 * @param Integer $min_timeout the minimum timeout value.
1153
	 **/
1154
	public function set_min_time_limit( $min_timeout ) {
1155
		$timeout = $this->get_max_execution_time();
1156
		if ( $timeout < $min_timeout ) {
1157
			$timeout = $min_timeout;
1158
			set_time_limit( $timeout );
1159
		}
1160
		return $timeout;
1161
	}
1162
1163
	/**
1164
	 * Get our assumed site creation date.

projects/plugins/jetpack/class.jetpack.php 1 location

@@ 5368-5375 (lines=8) @@
5365
	 *
5366
	 * @since 5.4
5367
	 **/
5368
	public static function set_min_time_limit( $min_timeout ) {
5369
		$timeout = self::get_max_execution_time();
5370
		if ( $timeout < $min_timeout ) {
5371
			$timeout = $min_timeout;
5372
			set_time_limit( $timeout );
5373
		}
5374
		return $timeout;
5375
	}
5376
5377
	/**
5378
	 * Takes the response from the Jetpack register new site endpoint and