File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 77use  Bavix \Wallet \External \Contracts \ExtraDtoInterface ;
88use  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 );
Original file line number Diff line number Diff line change 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    {
Original file line number Diff line number Diff line change 77use  Illuminate \Contracts \Cache \Factory  as  CacheFactory ;
88use  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    {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments