Code Duplication    Length = 3-3 lines in 2 locations

includes/parser/Preprocessor_DOM.php 1 location

@@ 1540-1542 (lines=3) @@
1537
	 * @param int $ttl
1538
	 */
1539
	public function setTTL( $ttl ) {
1540
		if ( $ttl !== null && ( $this->ttl === null || $ttl < $this->ttl ) ) {
1541
			$this->ttl = $ttl;
1542
		}
1543
	}
1544
1545
	/**

includes/parser/Preprocessor_Hash.php 1 location

@@ 1367-1369 (lines=3) @@
1364
	 * @param int $ttl
1365
	 */
1366
	public function setTTL( $ttl ) {
1367
		if ( $ttl !== null && ( $this->ttl === null || $ttl < $this->ttl ) ) {
1368
			$this->ttl = $ttl;
1369
		}
1370
	}
1371
1372
	/**