Skip to content

Commit 9acd088

Browse files
stubbogithub-actions[bot]
authored andcommitted
apply phpcbf formatting
1 parent 5a7f718 commit 9acd088

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

tests/Casts/EncryptionTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
use MongoDB\Laravel\Tests\Models\Casting;
1111
use MongoDB\Laravel\Tests\TestCase;
1212

13+
use function app;
14+
use function collect;
15+
1316
class EncryptionTest extends TestCase
1417
{
1518
protected function setUp(): void
@@ -23,7 +26,7 @@ protected function decryptRaw(Casting $model, $key)
2326
{
2427
return app()->make(Encrypter::class)
2528
->decryptString(
26-
$model->getRawOriginal($key)
29+
$model->getRawOriginal($key),
2730
);
2831
}
2932

tests/Casts/StringTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
use MongoDB\Laravel\Tests\Models\Casting;
88
use MongoDB\Laravel\Tests\TestCase;
99

10+
use function now;
11+
1012
class StringTest extends TestCase
1113
{
1214
protected function setUp(): void

tests/Models/Casting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Casting extends Eloquent
3535
'encryptedString',
3636
'encryptedArray',
3737
'encryptedObject',
38-
'encryptedCollection'
38+
'encryptedCollection',
3939
];
4040

4141
protected $casts = [

0 commit comments

Comments
 (0)