Code Duplication    Length = 10-10 lines in 2 locations

includes/db/Database.php 2 locations

@@ 1774-1783 (lines=10) @@
1771
	 *
1772
	 * @return array
1773
	 */
1774
	public function tableNames() {
1775
		$inArray = func_get_args();
1776
		$retVal = [];
1777
1778
		foreach ( $inArray as $name ) {
1779
			$retVal[$name] = $this->tableName( $name );
1780
		}
1781
1782
		return $retVal;
1783
	}
1784
1785
	/**
1786
	 * Fetch a number of table names into an zero-indexed numerical array
@@ 1796-1805 (lines=10) @@
1793
	 *
1794
	 * @return array
1795
	 */
1796
	public function tableNamesN() {
1797
		$inArray = func_get_args();
1798
		$retVal = [];
1799
1800
		foreach ( $inArray as $name ) {
1801
			$retVal[] = $this->tableName( $name );
1802
		}
1803
1804
		return $retVal;
1805
	}
1806
1807
	/**
1808
	 * Get an aliased table name