File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ public function refreshBalance(): bool
113113 }
114114
115115 /** @codeCoverageIgnore */
116- public function getOriginalBalance (): string
116+ public function getOriginalBalanceAttribute (): string
117117 {
118118 if (method_exists ($ this , 'getRawOriginal ' )) {
119119 return (string ) $ this ->getRawOriginal ('balance ' , 0 );
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function amount(Wallet $wallet): string
3939 } catch (RecordNotFoundException $ recordNotFoundException ) {
4040 $ this ->lockService ->block (
4141 $ this ->getKey ($ wallet ),
42- fn () => $ this ->sync ($ wallet , $ wallet ->getOriginalBalance ()),
42+ fn () => $ this ->sync ($ wallet , $ wallet ->getOriginalBalanceAttribute ()),
4343 );
4444 }
4545
You can’t perform that action at this time.
0 commit comments