diff --git a/src/LabelPrinter.php b/src/LabelPrinter.php index 13c1503..52cb9e7 100644 --- a/src/LabelPrinter.php +++ b/src/LabelPrinter.php @@ -21,6 +21,7 @@ public function getPdfFromArray(Label $template, array $models): TCPDF { $pdf = new PdfDocument($template); $pdf->addLabels($models); + return $pdf; } }