Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 1196-1203 (lines=8) @@
1193
	 * @since 5.4
1194
	 * @param Integer $min_timeout the minimum timeout value.
1195
	 **/
1196
	public function set_min_time_limit( $min_timeout ) {
1197
		$timeout = $this->get_max_execution_time();
1198
		if ( $timeout < $min_timeout ) {
1199
			$timeout = $min_timeout;
1200
			set_time_limit( $timeout );
1201
		}
1202
		return $timeout;
1203
	}
1204
1205
	/**
1206
	 * Get our assumed site creation date.

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

@@ 5350-5357 (lines=8) @@
5347
	 *
5348
	 * @since 5.4
5349
	 **/
5350
	public static function set_min_time_limit( $min_timeout ) {
5351
		$timeout = self::get_max_execution_time();
5352
		if ( $timeout < $min_timeout ) {
5353
			$timeout = $min_timeout;
5354
			set_time_limit( $timeout );
5355
		}
5356
		return $timeout;
5357
	}
5358
5359
	/**
5360
	 * Takes the response from the Jetpack register new site endpoint and