@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | return $area; |
| 223 | 223 | } |
| 224 | 224 | |
| 225 | - for ($i = 0; $i < $length; $i ++) { |
|
| 225 | + for ($i = 0; $i < $length; $i++) { |
|
| 226 | 226 | list($lower_index, $middle_index, $upper_index) = $this->determineCoordinateIndices($i, $length); |
| 227 | 227 | |
| 228 | 228 | $point1 = $coordinates[$lower_index]; |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | public function toArray() |
| 246 | 246 | { |
| 247 | 247 | if (is_null($this->geometry_array)) { |
| 248 | - $this->geometry_array = (array)json_decode($this->toJson(), true); |
|
| 248 | + $this->geometry_array = (array) json_decode($this->toJson(), true); |
|
| 249 | 249 | } |
| 250 | 250 | |
| 251 | 251 | return $this->geometry_array; |