@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * @var float $width Line width property. |
| 23 | 23 | */ |
| 24 | 24 | protected $length, |
| 25 | - $width; |
|
| 25 | + $width; |
|
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * Method checks sent variable and throws LineException if it is not an Point1D instance. |
@@ -58,6 +58,6 @@ discard block |
||
| 58 | 58 | parent::__construct($from, $to); |
| 59 | 59 | |
| 60 | 60 | $this->width = $this->length |
| 61 | - = $this->countLength(); |
|
| 61 | + = $this->countLength(); |
|
| 62 | 62 | } |
| 63 | 63 | } |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | throw new LineException('Unknown dimension'); |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - $className = __NAMESPACE__ . "\\{$argsToClass[$lowestDimension]}"; |
|
| 61 | + $className = __NAMESPACE__."\\{$argsToClass[$lowestDimension]}"; |
|
| 62 | 62 | |
| 63 | 63 | return new $className($from, $to); |
| 64 | 64 | } |