Skip to content
This repository was archived by the owner on Apr 14, 2024. It is now read-only.

Commit 6067edf

Browse files
author
Julien Neuhart
committed
adding missing return in store method
1 parent 4136fbb commit 6067edf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,16 @@ class YourAwesomeClass {
8787
# now let's send those documents!
8888
try {
8989
# store method allows you to... store the resulting PDF in a particular folder.
90-
$client->store([
90+
$filePath = $client->store([
9191
$yourOfficeDocument,
9292
$yourHTMLDocument
9393
], 'path/to/folder/you/want/the/pdf/to/be/store');
9494

9595
# if you wish to redirect the response directly to the browser, you may also use:
9696
$response = $client->forward([
97-
$yourOfficeDocument,
98-
$yourHTMLDocument
99-
]);
97+
$yourOfficeDocument,
98+
$yourHTMLDocument
99+
]);
100100

101101
} catch (ClientException $e) {
102102
# this exception is thrown by the client if the API has returned a code != 200.

0 commit comments

Comments
 (0)