From 53c70f6c2220307c9676fa2f4979ee41d360dbff Mon Sep 17 00:00:00 2001 From: andrei-z Date: Tue, 25 Oct 2022 23:02:32 +0300 Subject: [PATCH] Fixed #96: LSP Rectangles must be array --- README-zh.md | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README-zh.md b/README-zh.md index 007a24f..f9ac261 100644 --- a/README-zh.md +++ b/README-zh.md @@ -2092,7 +2092,7 @@ class Square : Rectangle } } -Drawable RenderLargeRectangles(Rectangle rectangles) +Drawable RenderLargeRectangles(Rectangle[] rectangles) { foreach (rectangle in rectangles) { @@ -2156,7 +2156,7 @@ class Square : ShapeBase } } -Drawable RenderLargeRectangles(Rectangle rectangles) +Drawable RenderLargeRectangles(Rectangle[] rectangles) { foreach (rectangle in rectangles) { diff --git a/README.md b/README.md index 0917da9..228932f 100644 --- a/README.md +++ b/README.md @@ -2077,7 +2077,7 @@ class Square : Rectangle } } -Drawable RenderLargeRectangles(Rectangle rectangles) +Drawable RenderLargeRectangles(Rectangle[] rectangles) { foreach (rectangle in rectangles) { @@ -2141,7 +2141,7 @@ class Square : ShapeBase } } -Drawable RenderLargeRectangles(Rectangle rectangles) +Drawable RenderLargeRectangles(Rectangle[] rectangles) { foreach (rectangle in rectangles) {