mirror of
https://github.com/jupeter/clean-code-php.git
synced 2025-10-03 17:31:52 +02:00
Made changes suggested in code review
This commit is contained in:
@@ -1226,7 +1226,6 @@ class Rectangle extends Shape
|
||||
|
||||
public function __construct($width, $height)
|
||||
{
|
||||
parent::__construct();
|
||||
$this->width = $width;
|
||||
$this->height = $height;
|
||||
}
|
||||
@@ -1243,7 +1242,6 @@ class Square extends Shape
|
||||
|
||||
public function __construct($length)
|
||||
{
|
||||
parent::__construct();
|
||||
$this->length = $length;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user