Skip to content

Commit b144aa6

Browse files
authored
PDF-file is returned as base64 string
1 parent a42e092 commit b144aa6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/System.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,10 @@ public function print(string $html, Printer $printer = null): void
5050
]);
5151
}
5252

53-
public function printToPDF(string $html, $path = null): void
53+
public function printToPDF(string $html): string
5454
{
5555
$this->client->post('system/print-to-pdf', [
5656
'html' => $html,
57-
'path' => $path ?? '',
5857
]);
5958
}
6059
}

0 commit comments

Comments
 (0)