File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function handle()
42
42
return ;
43
43
}
44
44
45
- if (!$ this ->setKeyInEnvironmentFile ($ key )) {
45
+ if (! $ this ->setKeyInEnvironmentFile ($ key )) {
46
46
return ;
47
47
}
48
48
@@ -71,11 +71,11 @@ protected function setKeyInEnvironmentFile($key): bool
71
71
{
72
72
$ currentKey = $ this ->laravel ['config ' ]['ciphersweet.providers.string.key ' ];
73
73
74
- if (strlen ($ currentKey ) !== 0 && (!$ this ->confirmToProceed ())) {
74
+ if (strlen ($ currentKey ) !== 0 && (! $ this ->confirmToProceed ())) {
75
75
return false ;
76
76
}
77
77
78
- if (!$ this ->writeNewEnvironmentFileWith ($ key )) {
78
+ if (! $ this ->writeNewEnvironmentFileWith ($ key )) {
79
79
return false ;
80
80
}
81
81
Original file line number Diff line number Diff line change 8
8
use function Pest \Laravel \artisan ;
9
9
10
10
use Spatie \LaravelCipherSweet \Commands \EncryptCommand ;
11
- use Spatie \LaravelCipherSweet \Commands \GenerateKeyCommand ;
12
11
use Spatie \LaravelCipherSweet \Tests \TestClasses \User ;
13
12
14
13
beforeEach (function () {
You can’t perform that action at this time.
0 commit comments