@@ -23,18 +23,19 @@ public function __construct(Command $command)
23
23
/**
24
24
* Update the given package array.
25
25
*
26
- * @param array $packages
26
+ * @param array $packages
27
+ *
27
28
* @return array
28
29
*/
29
30
protected static function updatePackageArray (array $ packages )
30
31
{
31
32
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 ;
38
39
}
39
40
40
41
public function install ()
@@ -97,7 +98,7 @@ protected function scaffoldController()
97
98
mkdir ($ directory , 0755 , true );
98
99
}
99
100
100
- $ filesystem = new Filesystem ;
101
+ $ filesystem = new Filesystem () ;
101
102
102
103
collect ($ filesystem ->allFiles (base_path ('vendor/laravel/ui/stubs/Auth ' )))
103
104
->each (function (SplFileInfo $ file ) use ($ filesystem ) {
@@ -118,8 +119,7 @@ protected function scaffoldAuth()
118
119
FILE_APPEND
119
120
);
120
121
121
- tap (new Filesystem , function ($ filesystem ) {
122
-
122
+ tap (new Filesystem (), function ($ filesystem ) {
123
123
$ filesystem ->copyDirectory (__DIR__ .'/../coreui-stubs/auth ' , resource_path ('views/auth ' ));
124
124
$ filesystem ->copyDirectory (__DIR__ .'/../coreui-stubs/layouts ' , resource_path ('views/layouts ' ));
125
125
$ filesystem ->copy (__DIR__ .'/../coreui-stubs/home.blade.php ' , resource_path ('views/home.blade.php ' ));
0 commit comments