Code Duplication    Length = 8-8 lines in 2 locations

app/Report/ReportTcpdf.php 1 location

@@ 331-338 (lines=8) @@
328
	 *
329
	 * @return int
330
	 */
331
	public function getCurrentStyleHeight() {
332
		if (empty($this->currentStyle)) {
333
			return $this->wt_report->defaultFontSize;
334
		}
335
		$style = $this->wt_report->getStyle($this->currentStyle);
336
337
		return $style['size'];
338
	}
339
340
	/**
341
	 * Checks the Footnote and numbers them

app/Report/ReportHtml.php 1 location

@@ 545-552 (lines=8) @@
542
	 *
543
	 * @return int
544
	 */
545
	public function getCurrentStyleHeight() {
546
		if (empty($this->currentStyle)) {
547
			return $this->defaultFontSize;
548
		}
549
		$style = $this->getStyle($this->currentStyle);
550
551
		return $style['size'];
552
	}
553
554
	/**
555
	 * Get the current footnotes height.