1
0
mirror of https://github.com/jupeter/clean-code-php.git synced 2025-10-03 17:31:52 +02:00
This commit is contained in:
Peter Gribanov
2017-09-12 18:34:24 +03:00
committed by GitHub
parent ab07e05bcd
commit c2af508723

View File

@@ -1403,7 +1403,7 @@ The best way is separate the quadrangles and allocation of a more general subtyp
Despite the apparent similarity of the square and the rectangle, they are different.
A square has much in common with a rhombus, and a rectangle with a parallelogram, but they are not subtype.
A square, a rectangle, a rhombus and a parallelogram are separate figures with their own properties, albeit similar.
A square, a rectangle, a rhombus and a parallelogram are separate shapes with their own properties, albeit similar.
```php
interface Shape