Code Duplication    Length = 10-10 lines in 2 locations

includes/libs/rdbms/database/Database.php 2 locations

@@ 1768-1777 (lines=10) @@
1765
	 *
1766
	 * @return array
1767
	 */
1768
	public function tableNames() {
1769
		$inArray = func_get_args();
1770
		$retVal = [];
1771
1772
		foreach ( $inArray as $name ) {
1773
			$retVal[$name] = $this->tableName( $name );
1774
		}
1775
1776
		return $retVal;
1777
	}
1778
1779
	/**
1780
	 * Fetch a number of table names into an zero-indexed numerical array
@@ 1790-1799 (lines=10) @@
1787
	 *
1788
	 * @return array
1789
	 */
1790
	public function tableNamesN() {
1791
		$inArray = func_get_args();
1792
		$retVal = [];
1793
1794
		foreach ( $inArray as $name ) {
1795
			$retVal[] = $this->tableName( $name );
1796
		}
1797
1798
		return $retVal;
1799
	}
1800
1801
	/**
1802
	 * Get an aliased table name