|
@ -166,11 +166,11 @@ class Task |
|
|
|
|
|
|
|
|
public function hasGeojson(): bool |
|
|
public function hasGeojson(): bool |
|
|
{ |
|
|
{ |
|
|
return ( |
|
|
|
|
|
|
|
|
return |
|
|
isset($this->geojson) |
|
|
isset($this->geojson) |
|
|
and !empty($this->geojson) |
|
|
and !empty($this->geojson) |
|
|
and ($this->geojson !== '{}') |
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
and ('{}' !== $this->geojson) |
|
|
|
|
|
; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function getGeojson(): ?string |
|
|
public function getGeojson(): ?string |
|
|