Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1830,7 +1830,8 @@ class Employee

- [S: Single Responsibility Principle (SRP)](#single-responsibility-principle-srp)
- [O: Open/Closed Principle (OCP)](#openclosed-principle-ocp)
- [L: Liskov Substitution Principle (LSP)](#liskov-substitution-principle-lsp)
- [L:
v Substitution Principle (LSP)](#liskov-substitution-principle-lsp)
Copy link

@dmitryvhf dmitryvhf Jun 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excessed change. And new error.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I use search filter to find faster, but then I see error. I fixed this in here.

- [I: Interface Segregation Principle (ISP)](#interface-segregation-principle-isp)
- [D: Dependency Inversion Principle (DIP)](#dependency-inversion-principle-dip)

Expand Down Expand Up @@ -2077,7 +2078,7 @@ class Square : Rectangle
}
}

Drawable RenderLargeRectangles(Rectangle rectangles)
Drawable RenderLargeRectangles(Rectangle[] rectangles)
{
foreach (rectangle in rectangles)
{
Expand Down Expand Up @@ -2141,7 +2142,7 @@ class Square : ShapeBase
}
}

Drawable RenderLargeRectangles(Rectangle rectangles)
Drawable RenderLargeRectangles(Rectangle[] rectangles)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, make same into 2080 line, for "Bad" example

{
foreach (rectangle in rectangles)
{
Expand Down