Closed pathros closed 2 years ago
When trying to use this package in Laravel 9, I get the following warning when I want to output PDF in the webBrowser_
return $pdf->stream($pdf_file_name);
Method 'stream' is deprecated (5.6.0)
The file is in https://github.com/barryvdh/laravel-snappy/blob/master/src/PdfWrapper.php .
Any ideas how to fix this? .. or what is the new method to use instead?
ahh, my bad, inside the class it says:
@deprecated use inline() instead
When trying to use this package in Laravel 9, I get the following warning when I want to output PDF in the webBrowser_
return $pdf->stream($pdf_file_name);
The file is in https://github.com/barryvdh/laravel-snappy/blob/master/src/PdfWrapper.php .
Any ideas how to fix this? .. or what is the new method to use instead?