Skip to content

Commit c896bf2

Browse files
authored
Merge pull request #2198 from z-song/analysis-8AvKDk
Apply fixes from StyleCI
2 parents 423407e + 40ae5a5 commit c896bf2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/AdminServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Encore\Admin;
44

5-
use Illuminate\Support\ServiceProvider;
65
use Illuminate\Support\Facades\Blade;
6+
use Illuminate\Support\ServiceProvider;
77

88
class 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
}

src/Form/Field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)