Code Duplication    Length = 10-10 lines in 2 locations

includes/db/Database.php 2 locations

@@ 1956-1965 (lines=10) @@
1953
	 *
1954
	 * @return array
1955
	 */
1956
	public function tableNames() {
1957
		$inArray = func_get_args();
1958
		$retVal = [];
1959
1960
		foreach ( $inArray as $name ) {
1961
			$retVal[$name] = $this->tableName( $name );
1962
		}
1963
1964
		return $retVal;
1965
	}
1966
1967
	/**
1968
	 * Fetch a number of table names into an zero-indexed numerical array
@@ 1978-1987 (lines=10) @@
1975
	 *
1976
	 * @return array
1977
	 */
1978
	public function tableNamesN() {
1979
		$inArray = func_get_args();
1980
		$retVal = [];
1981
1982
		foreach ( $inArray as $name ) {
1983
			$retVal[] = $this->tableName( $name );
1984
		}
1985
1986
		return $retVal;
1987
	}
1988
1989
	/**
1990
	 * Get an aliased table name