@@ -40,7 +40,7 @@ trait HasWallet
4040    public  function  deposit (int  $ amount , ?array  $ meta  = null , bool  $ confirmed  = true ): Transaction 
4141    {
4242        $ self  = $ this  ;
43-         return  DB ::transaction (static  function   () use  ($ self , $ amount , $ meta , $ confirmed ) {
43+         return  DB ::transaction (static  function () use  ($ self , $ amount , $ meta , $ confirmed ) {
4444            return  app (CommonService::class)
4545                ->deposit ($ self , $ amount , $ meta , $ confirmed );
4646        });
@@ -156,7 +156,7 @@ public function canWithdraw(int $amount): bool
156156    public  function  forceWithdraw (int  $ amount , ?array  $ meta  = null , bool  $ confirmed  = true ): Transaction 
157157    {
158158        $ self  = $ this  ;
159-         return  DB ::transaction (static  function   () use  ($ self , $ amount , $ meta , $ confirmed ) {
159+         return  DB ::transaction (static  function () use  ($ self , $ amount , $ meta , $ confirmed ) {
160160            return  app (CommonService::class)
161161                ->forceWithdraw ($ self , $ amount , $ meta , $ confirmed );
162162        });
@@ -174,7 +174,7 @@ public function forceWithdraw(int $amount, ?array $meta = null, bool $confirmed
174174    public  function  forceTransfer (Wallet   $ wallet , int  $ amount , ?array  $ meta  = null ): Transfer 
175175    {
176176        $ self  = $ this  ;
177-         return  DB ::transaction (static  function   () use  ($ self , $ amount , $ wallet , $ meta ) {
177+         return  DB ::transaction (static  function () use  ($ self , $ amount , $ wallet , $ meta ) {
178178            return  app (CommonService::class)
179179                ->forceTransfer ($ self , $ wallet , $ amount , $ meta );
180180        });
0 commit comments