File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
33namespace Encore \Admin ;
44
5- use Illuminate \Support \ServiceProvider ;
65use Illuminate \Support \Facades \Blade ;
6+ use Illuminate \Support \ServiceProvider ;
77
88class AdminServiceProvider extends ServiceProvider
99{
@@ -66,10 +66,10 @@ public function boot()
6666 $ this ->publishes ([__DIR__ .'/../database/migrations ' => database_path ('migrations ' )], 'laravel-admin-migrations ' );
6767 $ this ->publishes ([__DIR__ .'/../resources/assets ' => public_path ('vendor/laravel-admin ' )], 'laravel-admin-assets ' );
6868 }
69-
69+
7070 //remove default feature of double encoding enable in laravel 5.6 or later.
7171 $ bladeReflectionClass = new \ReflectionClass ('\Illuminate\View\Compilers\BladeCompiler ' );
72- if ($ bladeReflectionClass ->hasMethod ('withoutDoubleEncoding ' )){
72+ if ($ bladeReflectionClass ->hasMethod ('withoutDoubleEncoding ' )) {
7373 Blade::withoutDoubleEncoding ();
7474 }
7575 }
Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ protected function getRules()
440440 return $ this ->rules ;
441441 }
442442
443- /**
443+ /**
444444 * Remove a specific rule by keyword.
445445 *
446446 * @param string $rule
You can’t perform that action at this time.
0 commit comments