Skip to content
This repository was archived by the owner on Jun 22, 2022. It is now read-only.

Commit af4f450

Browse files
committed
Merge remote-tracking branch 'origin/1.x' into 1.x
2 parents 5ab65cf + e8d4904 commit af4f450

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/CoreUIPreset.php

+9-9
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,19 @@ public function __construct(Command $command)
2121
/**
2222
* Update the given package array.
2323
*
24-
* @param array $packages
24+
* @param array $packages
25+
*
2526
* @return array
2627
*/
2728
protected static function updatePackageArray(array $packages)
2829
{
2930
return [
30-
'bootstrap' => '^4.1.0',
31-
'jquery' => '^3.2',
32-
'popper.js' => '^1.12',
33-
'@coreui/coreui' => '^3.2.2',
34-
'@coreui/icons' => '^1.0.1',
35-
] + $packages;
31+
'bootstrap' => '^4.1.0',
32+
'jquery' => '^3.2',
33+
'popper.js' => '^1.12',
34+
'@coreui/coreui' => '^3.2.2',
35+
'@coreui/icons' => '^1.0.1',
36+
] + $packages;
3637
}
3738

3839
public function install()
@@ -99,7 +100,6 @@ protected function scaffoldAuth()
99100
);
100101

101102
tap(new Filesystem(), function ($filesystem) {
102-
103103
$filesystem->copyDirectory(__DIR__.'/../coreui-stubs/auth', resource_path('views/auth'));
104104
$filesystem->copyDirectory(__DIR__.'/../coreui-stubs/layouts', resource_path('views/layouts'));
105105
$filesystem->copy(__DIR__.'/../coreui-stubs/home.blade.php', resource_path('views/home.blade.php'));
@@ -114,4 +114,4 @@ protected function compileHomeControllerStub()
114114
file_get_contents(base_path('vendor/laravel/ui/src/Auth/stubs/controllers/HomeController.stub'))
115115
);
116116
}
117-
}
117+
}

0 commit comments

Comments
 (0)