We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a98144 commit 6edc28dCopy full SHA for 6edc28d
src/Invoice.php
@@ -257,7 +257,7 @@ public function render()
257
$view = View::make($template, ['invoice' => $this]);
258
$html = mb_convert_encoding($view, 'HTML-ENTITIES', 'UTF-8');
259
260
- $this->pdf = Pdf::setOptions(['enable_php' => true])->loadHtml($html);
+ $this->pdf = Pdf::setOption(['enable_php' => true])->loadHtml($html);
261
$this->output = $this->pdf->output();
262
263
return $this;
0 commit comments