mirror of
https://github.com/jupeter/clean-code-php.git
synced 2025-10-04 01:41: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)
|
public function __construct($width, $height)
|
||||||
{
|
{
|
||||||
parent::__construct();
|
|
||||||
$this->width = $width;
|
$this->width = $width;
|
||||||
$this->height = $height;
|
$this->height = $height;
|
||||||
}
|
}
|
||||||
@@ -1243,7 +1242,6 @@ class Square extends Shape
|
|||||||
|
|
||||||
public function __construct($length)
|
public function __construct($length)
|
||||||
{
|
{
|
||||||
parent::__construct();
|
|
||||||
$this->length = $length;
|
$this->length = $length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user