Code Duplication    Length = 10-10 lines in 2 locations

includes/db/Database.php 2 locations

@@ 1855-1864 (lines=10) @@
1852
	 *
1853
	 * @return array
1854
	 */
1855
	public function tableNames() {
1856
		$inArray = func_get_args();
1857
		$retVal = [];
1858
1859
		foreach ( $inArray as $name ) {
1860
			$retVal[$name] = $this->tableName( $name );
1861
		}
1862
1863
		return $retVal;
1864
	}
1865
1866
	/**
1867
	 * Fetch a number of table names into an zero-indexed numerical array
@@ 1877-1886 (lines=10) @@
1874
	 *
1875
	 * @return array
1876
	 */
1877
	public function tableNamesN() {
1878
		$inArray = func_get_args();
1879
		$retVal = [];
1880
1881
		foreach ( $inArray as $name ) {
1882
			$retVal[] = $this->tableName( $name );
1883
		}
1884
1885
		return $retVal;
1886
	}
1887
1888
	/**
1889
	 * Get an aliased table name