Skip to content

Commit

Permalink
#208 Customizable PDF Metadata -> Removed unused variable in PdfBuild…
Browse files Browse the repository at this point in the history
…erEn16931Test::testCustomMetaInformation
  • Loading branch information
HorstOeko committed Dec 11, 2024
1 parent fa686e9 commit 7a9ade1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testcases/PdfBuilderEn16931Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ public function testCustomMetaInformation(): void
$this->assertStringContainsString(date("Y-m-d"), $pdfDetails["xmp:modifydate"]);

$pdfBuilder = new ZugferdDocumentPdfBuilder(self::$document, self::$sourcePdfFilename);
$pdfBuilder->setMetaInformationCallback(function ($which) use (&$whichArray) {
$pdfBuilder->setMetaInformationCallback(function ($which) {
if ($which === 'title') {
return "";
}
Expand Down

0 comments on commit 7a9ade1

Please sign in to comment.