File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
33namespace LaravelDaily \Invoices ;
44
5- use Barryvdh \DomPDF \Facade as PDF ;
5+ use Barryvdh \DomPDF \Facade \ Pdf ;
66use Carbon \Carbon ;
77use Exception ;
88use Illuminate \Http \Response ;
@@ -131,7 +131,7 @@ class Invoice
131131 public $ table_columns ;
132132
133133 /**
134- * @var PDF
134+ * @var Pdf
135135 */
136136 public $ pdf ;
137137
@@ -257,7 +257,7 @@ public function render()
257257 $ view = View::make ($ template , ['invoice ' => $ this ]);
258258 $ html = mb_convert_encoding ($ view , 'HTML-ENTITIES ' , 'UTF-8 ' );
259259
260- $ this ->pdf = PDF ::setOptions (['enable_php ' => true ])->loadHtml ($ html );
260+ $ this ->pdf = Pdf ::setOptions (['enable_php ' => true ])->loadHtml ($ html );
261261 $ this ->output = $ this ->pdf ->output ();
262262
263263 return $ this ;
You can’t perform that action at this time.
0 commit comments