@@ -4,9 +4,9 @@ |
||
| 4 | 4 | class Point |
| 5 | 5 | { |
| 6 | 6 | protected $id, |
| 7 | - $x, |
|
| 8 | - $y, |
|
| 9 | - $label = null; |
|
| 7 | + $x, |
|
| 8 | + $y, |
|
| 9 | + $label = null; |
|
| 10 | 10 | |
| 11 | 11 | public function __construct($id, $label = null) |
| 12 | 12 | { |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | |
| 71 | 71 | $this->each(function ($connection) use (&$connections, $from) { |
| 72 | 72 | if ($connection->from |
| 73 | - ->id == $from) { |
|
| 73 | + ->id == $from) { |
|
| 74 | 74 | $connections[] = $connection; |
| 75 | 75 | } |
| 76 | 76 | }); |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | class Creator |
| 5 | 5 | { |
| 6 | 6 | protected $points = array(), |
| 7 | - $labels = array(); |
|
| 7 | + $labels = array(); |
|
| 8 | 8 | |
| 9 | 9 | public function __construct($points = null) |
| 10 | 10 | { |