diff --git a/src/Models/Wallet.php b/src/Models/Wallet.php index 8afc824ea..5727d3a25 100644 --- a/src/Models/Wallet.php +++ b/src/Models/Wallet.php @@ -158,9 +158,9 @@ public function getCurrencyAttribute(): string return $this->meta['currency'] ?? Str::upper($this->slug); } - public function updateOrAddMeta(array $array): array + public function updateOrAddMeta(array $meta): array { - return $this->meta = array_merge($this->meta ?? [], $array); + return $this->meta = array_merge($this->meta ?? [], $meta); } protected function initializeMorphOneWallet(): void