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 @@ -489,7 +489,7 @@ protected function buildExcelFile()
489
489
}
490
490
491
491
if (! class_exists (ExcelServiceProvider::class)) {
492
- throw new Exception ('Please composer require maatwebsite/excel to be able to use this function. ' );
492
+ throw new Exception ('Please ` composer require maatwebsite/excel` to be able to use this function. ' );
493
493
}
494
494
495
495
if (! new $ this ->exportClass instanceof DataTablesExportHandler) {
@@ -634,7 +634,7 @@ public function pdf()
634
634
public function snappyPdf (): Response
635
635
{
636
636
if (! class_exists (PdfWrapper::class)) {
637
- throw new Exception ('You need to install barryvdh/laravel-snappy to be able to use this feature. ' );
637
+ throw new Exception ('Please `composer require barryvdh/laravel-snappy` to be able to use this feature. ' );
638
638
}
639
639
640
640
/** @var \Barryvdh\Snappy\PdfWrapper $snappy */
@@ -788,7 +788,7 @@ public function fastExcelCallback(): Closure
788
788
protected function buildFastExcelFile (): FastExcel
789
789
{
790
790
if (! class_exists (FastExcel::class)) {
791
- throw new Exception ('Please composer require rap2hpoutre/fast-excel to be able to use this function. ' );
791
+ throw new Exception ('Please ` composer require rap2hpoutre/fast-excel` to be able to use this function. ' );
792
792
}
793
793
794
794
$ query = null ;
You can’t perform that action at this time.
0 commit comments