1
0
mirror of https://github.com/jupeter/clean-code-php.git synced 2025-09-25 21:49:04 +02:00

LSP good example correction

See #55
This commit is contained in:
Pablo Godinez
2017-09-04 10:57:27 +02:00
committed by GitHub
parent 4be1dee2de
commit 6e01046113

View File

@@ -1201,7 +1201,7 @@ renderLargeRectangles($rectangles);
**Good:**
```php
abstract class Shape {
private $width, $height;
protected $width, $height;
abstract public function getArea();