From 0d94f3315f89de18af6add292456f35e5726717e Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Tue, 12 Sep 2017 16:54:17 +0200 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aafbd01..5eff6cb 100644 --- a/README.md +++ b/README.md @@ -1221,8 +1221,8 @@ abstract class Shape class Rectangle extends Shape { - protected $width; - protected $height; + private $width; + private $height; public function __construct($width, $height) { @@ -1239,6 +1239,8 @@ class Rectangle extends Shape class Square extends Shape { + private $length; + public function __construct($length) { parent::__construct();