Skip to content

Commit 82f9252

Browse files
riasvdvgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 821c2ad commit 82f9252

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Commands/GenerateKeyCommand.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function handle()
4242
return;
4343
}
4444

45-
if (!$this->setKeyInEnvironmentFile($key)) {
45+
if (! $this->setKeyInEnvironmentFile($key)) {
4646
return;
4747
}
4848

@@ -71,11 +71,11 @@ protected function setKeyInEnvironmentFile($key): bool
7171
{
7272
$currentKey = $this->laravel['config']['ciphersweet.providers.string.key'];
7373

74-
if (strlen($currentKey) !== 0 && (!$this->confirmToProceed())) {
74+
if (strlen($currentKey) !== 0 && (! $this->confirmToProceed())) {
7575
return false;
7676
}
7777

78-
if (!$this->writeNewEnvironmentFileWith($key)) {
78+
if (! $this->writeNewEnvironmentFileWith($key)) {
7979
return false;
8080
}
8181

tests/CipherSweetTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use function Pest\Laravel\artisan;
99

1010
use Spatie\LaravelCipherSweet\Commands\EncryptCommand;
11-
use Spatie\LaravelCipherSweet\Commands\GenerateKeyCommand;
1211
use Spatie\LaravelCipherSweet\Tests\TestClasses\User;
1312

1413
beforeEach(function () {

0 commit comments

Comments
 (0)