Skip to content

Commit 6503f34

Browse files
committed
autofix
1 parent 7989cbc commit 6503f34

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/External/Dto/Extra.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
use Bavix\Wallet\External\Contracts\ExtraDtoInterface;
88
use Bavix\Wallet\External\Contracts\OptionDtoInterface;
99

10-
final class Extra implements ExtraDtoInterface
10+
final readonly class Extra implements ExtraDtoInterface
1111
{
12-
private readonly OptionDtoInterface $deposit;
12+
private OptionDtoInterface $deposit;
1313

14-
private readonly OptionDtoInterface $withdraw;
14+
private OptionDtoInterface $withdraw;
1515

1616
/**
1717
* @param OptionDtoInterface|array<mixed>|null $deposit
@@ -21,8 +21,8 @@ final class Extra implements ExtraDtoInterface
2121
public function __construct(
2222
OptionDtoInterface|array|null $deposit,
2323
OptionDtoInterface|array|null $withdraw,
24-
private readonly ?string $uuid = null,
25-
private readonly ?array $extra = null
24+
private ?string $uuid = null,
25+
private ?array $extra = null
2626
) {
2727
$this->deposit = $deposit instanceof OptionDtoInterface ? $deposit : new Option($deposit);
2828
$this->withdraw = $withdraw instanceof OptionDtoInterface ? $withdraw : new Option($withdraw);

src/Internal/Service/ConnectionService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
/**
1111
* @internal
1212
*/
13-
final class ConnectionService implements ConnectionServiceInterface
13+
final readonly class ConnectionService implements ConnectionServiceInterface
1414
{
15-
private readonly ConnectionInterface $connection;
15+
private ConnectionInterface $connection;
1616

1717
public function __construct(ConnectionResolverInterface $connectionResolver)
1818
{

src/Internal/Service/StateService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Illuminate\Contracts\Cache\Factory as CacheFactory;
88
use Illuminate\Contracts\Cache\Repository as CacheRepository;
99

10-
final class StateService implements StateServiceInterface
10+
final readonly class StateService implements StateServiceInterface
1111
{
1212
private const RANDOM_BYTES = 3;
1313

@@ -31,7 +31,7 @@ final class StateService implements StateServiceInterface
3131
*/
3232
private const PREFIX_HASHMAP = 'wallet_hm::';
3333

34-
private readonly CacheRepository $store;
34+
private CacheRepository $store;
3535

3636
public function __construct(CacheFactory $cacheFactory)
3737
{

0 commit comments

Comments
 (0)