From d89d27ad8caf905651392df48db97644a3bc2fcc Mon Sep 17 00:00:00 2001 From: vlassiuk Date: Mon, 28 Aug 2017 16:11:02 +0300 Subject: [PATCH] no need for minus before variable --- 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();