amount += $amount; } public function withdraw(float $amount): void { $this->amount -= $amount; } }