Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 1390-1397 (lines=8) @@
1387
	 * @since 5.4
1388
	 * @param Integer $min_timeout the minimum timeout value.
1389
	 **/
1390
	public function set_min_time_limit( $min_timeout ) {
1391
		$timeout = $this->get_max_execution_time();
1392
		if ( $timeout < $min_timeout ) {
1393
			$timeout = $min_timeout;
1394
			set_time_limit( $timeout );
1395
		}
1396
		return $timeout;
1397
	}
1398
1399
	/**
1400
	 * Get our assumed site creation date.

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

@@ 5488-5495 (lines=8) @@
5485
	 *
5486
	 * @since 5.4
5487
	 **/
5488
	public static function set_min_time_limit( $min_timeout ) {
5489
		$timeout = self::get_max_execution_time();
5490
		if ( $timeout < $min_timeout ) {
5491
			$timeout = $min_timeout;
5492
			set_time_limit( $timeout );
5493
		}
5494
		return $timeout;
5495
	}
5496
5497
	/**
5498
	 * Takes the response from the Jetpack register new site endpoint and