Skip to content

Commit d94f4ed

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

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/AdminLTEPreset.php

+7-9
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
use Illuminate\Console\Command;
66
use Illuminate\Container\Container;
77
use Illuminate\Filesystem\Filesystem;
8-
use Illuminate\Support\Str;
98
use InfyOm\GeneratorHelpers\LaravelUtils;
109
use Laravel\Ui\Presets\Preset;
11-
use Symfony\Component\Finder\SplFileInfo;
1210

1311
class AdminLTEPreset extends Preset
1412
{
@@ -23,17 +21,18 @@ public function __construct(Command $command)
2321
/**
2422
* Update the given package array.
2523
*
26-
* @param array $packages
24+
* @param array $packages
25+
*
2726
* @return array
2827
*/
2928
protected static function updatePackageArray(array $packages)
3029
{
3130
return [
32-
'bootstrap' => '^4.0.0',
33-
'jquery' => '^3.2',
34-
'popper.js' => '^1.12',
35-
'admin-lte' => '^3.0',
36-
] + $packages;
31+
'bootstrap' => '^4.0.0',
32+
'jquery' => '^3.2',
33+
'popper.js' => '^1.12',
34+
'admin-lte' => '^3.0',
35+
] + $packages;
3736
}
3837

3938
public function install()
@@ -101,7 +100,6 @@ protected function scaffoldAuth()
101100
);
102101

103102
tap(new Filesystem(), function ($filesystem) {
104-
105103
$filesystem->copyDirectory(__DIR__.'/../adminlte-stubs/auth', resource_path('views/auth'));
106104
$filesystem->copyDirectory(__DIR__.'/../adminlte-stubs/layouts', resource_path('views/layouts'));
107105
$filesystem->copy(__DIR__.'/../adminlte-stubs/home.blade.php', resource_path('views/home.blade.php'));

0 commit comments

Comments
 (0)