signature: fix cs + test PDFParser

This commit is contained in:
nobohan
2024-07-12 14:31:34 +02:00
parent 421226c0dc
commit 67395f52b5
4 changed files with 9 additions and 11 deletions

View File

@@ -50,7 +50,7 @@ class PDFSignatureZoneParser
foreach ($page->getDataTm() as $dataTm) {
if (str_starts_with($dataTm[1], self::ZONE_SIGNATURE_START)) {
$zones[] = new PDFSignatureZone((int) $zoneIndex, (float) $dataTm[0][4], (float) $dataTm[0][5], $this->defaultHeight, $this->defaultWidth, $pdfPage);
$zoneIndex++;
++$zoneIndex;
}
}
}