From cb272de8297ea09c4b2102e44cf32b54dc105bec Mon Sep 17 00:00:00 2001 From: Peter Gribanov Date: Mon, 4 Sep 2017 20:42:33 +0300 Subject: [PATCH] separate client is not good way --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 159c123..df832b1 100644 --- a/README.md +++ b/README.md @@ -1199,7 +1199,10 @@ foreach ($rectangles as $rectangle) { } ``` -**Good:** +**Not good:** + +You can separate client for differen shapes. +But this is not a best solution becous the square is still must be a subtype of the rectangle. ```php interface Shape