55use Illuminate \Console \Command ;
66use Illuminate \Container \Container ;
77use Illuminate \Filesystem \Filesystem ;
8- use Illuminate \Support \Str ;
98use InfyOm \GeneratorHelpers \LaravelUtils ;
109use Laravel \Ui \Presets \Preset ;
11- use Symfony \Component \Finder \SplFileInfo ;
1210
1311class 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