diff --git a/build/docs/content/04-html.md b/build/docs/content/04-html.md index 7ff5532f..85c426d5 100644 --- a/build/docs/content/04-html.md +++ b/build/docs/content/04-html.md @@ -343,8 +343,8 @@ use TheCodingMachine\Gotenberg\Request; $client = new Client('http://localhost:3000', new \Http\Adapter\Guzzle6\Client()); $index = DocumentFactory::makeFromPath('index.html', '/path/to/file'); $request = new HTMLRequest($index); -$request->setPageRanges("1-3,5"); -$dest = "result.pdf"; +$request->setPageRanges('1-3,5'); +$dest = 'result.pdf'; $client->store($request, $dest); ``` diff --git a/build/docs/content/07-office.md b/build/docs/content/07-office.md index a6ec46e0..a024b236 100644 --- a/build/docs/content/07-office.md +++ b/build/docs/content/07-office.md @@ -161,7 +161,7 @@ $files = [ DocumentFactory::makeFromPath('document.docx', '/path/to/file'), ]; $request = new OfficeRequest($files); -$request->setPageRanges("1-3"); -$dest = "result.pdf"; +$request->setPageRanges('1-3'); +$dest = 'result.pdf'; $client->store($request, $dest); ``` diff --git a/docs/index.html b/docs/index.html index d2ec8df3..6769a751 100755 --- a/docs/index.html +++ b/docs/index.html @@ -787,8 +787,8 @@ use TheCodingMachine\Gotenberg\Request; $client = new Client('http://localhost:3000', new \Http\Adapter\Guzzle6\Client()); $index = DocumentFactory::makeFromPath('index.html', '/path/to/file'); $request = new HTMLRequest($index); -$request->setPageRanges("1-3,5"); -$dest = "result.pdf"; +$request->setPageRanges('1-3,5'); +$dest = 'result.pdf'; $client->store($request, $dest); @@ -1288,8 +1288,8 @@ $files = [ DocumentFactory::makeFromPath('document.docx', '/path/to/file'), ]; $request = new OfficeRequest($files); -$request->setPageRanges("1-3"); -$dest = "result.pdf"; +$request->setPageRanges('1-3'); +$dest = 'result.pdf'; $client->store($request, $dest);