Code Duplication    Length = 10-10 lines in 2 locations

includes/db/Database.php 2 locations

@@ 1815-1824 (lines=10) @@
1812
	 *
1813
	 * @return array
1814
	 */
1815
	public function tableNames() {
1816
		$inArray = func_get_args();
1817
		$retVal = [];
1818
1819
		foreach ( $inArray as $name ) {
1820
			$retVal[$name] = $this->tableName( $name );
1821
		}
1822
1823
		return $retVal;
1824
	}
1825
1826
	/**
1827
	 * Fetch a number of table names into an zero-indexed numerical array
@@ 1837-1846 (lines=10) @@
1834
	 *
1835
	 * @return array
1836
	 */
1837
	public function tableNamesN() {
1838
		$inArray = func_get_args();
1839
		$retVal = [];
1840
1841
		foreach ( $inArray as $name ) {
1842
			$retVal[] = $this->tableName( $name );
1843
		}
1844
1845
		return $retVal;
1846
	}
1847
1848
	/**
1849
	 * Get an aliased table name