Skip to content

Commit cb2b4a0

Browse files
committed
Comments
1 parent f1d403b commit cb2b4a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/System.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function printers(): array
6363
}
6464

6565
/**
66-
* For settings options, see https://www.electronjs.org/docs/latest/api/web-contents#contentsprintoptions-callback
66+
* For $settings options, see https://www.electronjs.org/docs/latest/api/web-contents#contentsprintoptions-callback
6767
*/
6868
public function print(string $html, ?Printer $printer = null, ?array $settings = []): void
6969
{
@@ -74,6 +74,9 @@ public function print(string $html, ?Printer $printer = null, ?array $settings =
7474
]);
7575
}
7676

77+
/**
78+
* For $settings options, see https://www.electronjs.org/docs/latest/api/web-contents#contentsprinttopdfoptions
79+
*/
7780
public function printToPDF(string $html, ?array $settings = []): string
7881
{
7982
return $this->client->post('system/print-to-pdf', [

0 commit comments

Comments
 (0)