Skip to content

Commit 2dcd31f

Browse files
style: Apply fixes from StyleCI (#1)
Co-authored-by: Mitul Golakiya <[email protected]>
1 parent 175f8cc commit 2dcd31f

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

src/AdminLTEPreset.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,18 @@ public function __construct(Command $command)
2323
/**
2424
* Update the given package array.
2525
*
26-
* @param array $packages
26+
* @param array $packages
27+
*
2728
* @return array
2829
*/
2930
protected static function updatePackageArray(array $packages)
3031
{
3132
return [
32-
'bootstrap' => '^4.0.0',
33-
'jquery' => '^3.2',
34-
'popper.js' => '^1.12',
35-
'admin-lte' => '^3.0',
36-
] + $packages;
33+
'bootstrap' => '^4.0.0',
34+
'jquery' => '^3.2',
35+
'popper.js' => '^1.12',
36+
'admin-lte' => '^3.0',
37+
] + $packages;
3738
}
3839

3940
public function install()
@@ -97,7 +98,7 @@ protected function scaffoldController()
9798
mkdir($directory, 0755, true);
9899
}
99100

100-
$filesystem = new Filesystem;
101+
$filesystem = new Filesystem();
101102

102103
collect($filesystem->allFiles(base_path('vendor/laravel/ui/stubs/Auth')))
103104
->each(function (SplFileInfo $file) use ($filesystem) {
@@ -118,8 +119,7 @@ protected function scaffoldAuth()
118119
FILE_APPEND
119120
);
120121

121-
tap(new Filesystem, function ($filesystem) {
122-
122+
tap(new Filesystem(), function ($filesystem) {
123123
$filesystem->copyDirectory(__DIR__.'/../adminlte-stubs/auth', resource_path('views/auth'));
124124
$filesystem->copyDirectory(__DIR__.'/../adminlte-stubs/layouts', resource_path('views/layouts'));
125125
$filesystem->copy(__DIR__.'/../adminlte-stubs/home.blade.php', resource_path('views/home.blade.php'));

src/AdminLTEPresetServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class AdminLTEPresetServiceProvider extends ServiceProvider
1010
public function boot()
1111
{
1212
UiCommand::macro('adminlte', function (UiCommand $command) {
13-
1413
$adminLTEPreset = new AdminLTEPreset($command);
1514
$adminLTEPreset->install();
1615

0 commit comments

Comments
 (0)