wallet += $money; } public function pay(float $money): void { $this->wallet -= $money; $this->wallet += $money * 0.05; } }