From bfe98f0d2672de96001c6087f570163a45ac7ecd Mon Sep 17 00:00:00 2001 From: Valerii Kuznetsov Date: Tue, 29 Aug 2017 08:10:09 +1200 Subject: [PATCH] Update README.md Looks like a bug in good practice. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb072e6..985d5ca 100644 --- a/README.md +++ b/README.md @@ -788,7 +788,7 @@ class BankAccount { $bankAccount = new BankAccount(); // Buy shoes... -$bankAccount->withdrawBalance(-$shoesPrice); +$bankAccount->withdrawBalance($shoesPrice); // Get balance $balance = $bankAccount->getBalance();