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.
2 parents 2c1a3c6 + f0045f7 commit 331b501Copy full SHA for 331b501
src/Services/DataTable.php
@@ -622,12 +622,13 @@ public function pdf()
622
* PDF version of the table using print preview blade template.
623
*
624
* @return \Illuminate\Http\Response
625
+ *
626
* @throws \Yajra\DataTables\Exceptions\Exception
627
*/
628
public function snappyPdf(): Response
629
{
630
if (! class_exists(PdfWrapper::class)) {
- throw new Exception("You need to install barryvdh/laravel-snappy to be able to use this feature.");
631
+ throw new Exception('You need to install barryvdh/laravel-snappy to be able to use this feature.');
632
}
633
634
/** @var \Barryvdh\Snappy\PdfWrapper $snappy */
0 commit comments