Code Duplication    Length = 8-8 lines in 2 locations

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

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

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

@@ 5400-5407 (lines=8) @@
5397
	 *
5398
	 * @since 5.4
5399
	 **/
5400
	public static function set_min_time_limit( $min_timeout ) {
5401
		$timeout = self::get_max_execution_time();
5402
		if ( $timeout < $min_timeout ) {
5403
			$timeout = $min_timeout;
5404
			set_time_limit( $timeout );
5405
		}
5406
		return $timeout;
5407
	}
5408
5409
	/**
5410
	 * Takes the response from the Jetpack register new site endpoint and