@@ -19,12 +19,12 @@ |
||
19 | 19 | |
20 | 20 | public function addPoint(self $point): self |
21 | 21 | { |
22 | - if (! in_array($point, $this->points)) { |
|
22 | + if (!in_array($point, $this->points)) { |
|
23 | 23 | $this->points[] = $point; |
24 | 24 | } |
25 | 25 | |
26 | 26 | // add the reverse point |
27 | - if (! in_array($this, $point->points)) { |
|
27 | + if (!in_array($this, $point->points)) { |
|
28 | 28 | $point->points[] = $this; |
29 | 29 | } |
30 | 30 |