Skip to content

Commit 6ef2818

Browse files
committed
update styling
1 parent d51f0df commit 6ef2818

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/LaravelCsvDirectives.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ public static function csvStyles()
1313

1414
public static function csvScripts()
1515
{
16-
return <<<HTML
16+
return <<<'HTML'
1717
<script src="{{ asset('vendor/csv/js/app.js') }}"></script>
1818
HTML;
1919
}
2020

2121
protected static function getTailwindStyle()
2222
{
23-
return <<<HTML
23+
return <<<'HTML'
2424
<link href="{{ asset('vendor/csv/css/tailwind.css') }}" rel="stylesheet"></link>
2525
HTML;
2626
}
27-
}
27+
}

src/LaravelCsvServiceProvider.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,12 @@ protected function registerComponent(string $component): void
7474

7575
/**
7676
* Register laravel CSV blade directives
77-
*
77+
*
7878
* @return void
7979
*/
8080
protected function registerBladeDirectives()
8181
{
8282
Blade::directive('csvStyles', [LaravelCsvDirectives::class, 'csvStyles']);
8383
Blade::directive('csvScripts', [LaravelCsvDirectives::class, 'csvScripts']);
8484
}
85-
8685
}

0 commit comments

Comments
 (0)