Code Duplication    Length = 7-7 lines in 2 locations

includes/parser/Preprocessor_DOM.php 1 location

@@ 1442-1448 (lines=7) @@
1439
		return 'frame{}';
1440
	}
1441
1442
	public function getPDBK( $level = false ) {
1443
		if ( $level === false ) {
1444
			return $this->title->getPrefixedDBkey();
1445
		} else {
1446
			return isset( $this->titleCache[$level] ) ? $this->titleCache[$level] : false;
1447
		}
1448
	}
1449
1450
	/**
1451
	 * @return array

includes/parser/Preprocessor_Hash.php 1 location

@@ 1268-1274 (lines=7) @@
1265
	 * @param bool $level
1266
	 * @return array|bool|string
1267
	 */
1268
	public function getPDBK( $level = false ) {
1269
		if ( $level === false ) {
1270
			return $this->title->getPrefixedDBkey();
1271
		} else {
1272
			return isset( $this->titleCache[$level] ) ? $this->titleCache[$level] : false;
1273
		}
1274
	}
1275
1276
	/**
1277
	 * @return array