. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Report; use TCPDF; class TcpdfWrapper extends TCPDF { /** * Expose protected method in base class. */ public function getRemainingWidth(): float { return parent::getRemainingWidth(); } /** * Expose protected method in base class. */ public function checkPageBreak($h = 0, $y = null, $addpage = true): bool { return parent::checkPageBreak($h, $y, $addpage); } }