From bec60898aaf86e711cd309105c52d9f6926de50d Mon Sep 17 00:00:00 2001 From: Jan Slabon Date: Tue, 25 Jul 2023 13:18:17 +0200 Subject: [PATCH] Added missing doc-blocks --- src/FpdiTrait.php | 1 + src/Tcpdf/Fpdi.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/FpdiTrait.php b/src/FpdiTrait.php index 4ca9808..fdcaaf5 100644 --- a/src/FpdiTrait.php +++ b/src/FpdiTrait.php @@ -245,6 +245,7 @@ public function setSourceFileWithParserParams($file, array $parserParams = []) * @param int $pageNumber The page number. * @param string $box The page boundary to import. Default set to PageBoundaries::CROP_BOX. * @param bool $groupXObject Define the form XObject as a group XObject to support transparency (if used). + * @param bool $importExternalLinks Define whether external links are imported or not. * @return string A unique string identifying the imported page. * @throws CrossReferenceException * @throws FilterException diff --git a/src/Tcpdf/Fpdi.php b/src/Tcpdf/Fpdi.php index 80c802b..e3a2f06 100644 --- a/src/Tcpdf/Fpdi.php +++ b/src/Tcpdf/Fpdi.php @@ -284,7 +284,7 @@ protected function writePdfType(PdfType $value) * @param float|int $yPt * @param float|int $newHeightPt * @param float|int $scaleY - * @param $importedPage + * @param array $importedPage * @return void */ protected function adjustLastLink($externalLink, $xPt, $scaleX, $yPt, $newHeightPt, $scaleY, $importedPage)