@@ -23,18 +23,19 @@ 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.1.0 ' ,
33- ' jquery ' => '^3.2 ' ,
34- 'popper.js ' => '^1.12 ' ,
35- '@coreui/coreui ' => '^3.2.2 ' ,
36- " @coreui/icons " => " ^1.0.1 " ,
37- ] + $ packages ;
33+ ' bootstrap ' => '^4.1.0 ' ,
34+ ' jquery ' => '^3.2 ' ,
35+ 'popper.js ' => '^1.12 ' ,
36+ '@coreui/coreui ' => '^3.2.2 ' ,
37+ ' @coreui/icons ' => ' ^1.0.1 ' ,
38+ ] + $ packages ;
3839 }
3940
4041 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__ .'/../coreui-stubs/auth ' , resource_path ('views/auth ' ));
124124 $ filesystem ->copyDirectory (__DIR__ .'/../coreui-stubs/layouts ' , resource_path ('views/layouts ' ));
125125 $ filesystem ->copy (__DIR__ .'/../coreui-stubs/home.blade.php ' , resource_path ('views/home.blade.php ' ));
0 commit comments