@@ -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 ' ));
0 commit comments