Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LimberHope committed Dec 9, 2024
1 parent 1005c2e commit 4eeb38c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public function __invoke(EntityModel $entity, string $slug)
'id' => $polygon->id,
'poly_name' => $polygon->poly_name,
'poly_id' => $polygon->poly_id,
'site_id' => $polygon->site_id,
'status' => $polygon->status,
'plantstart' => $polygon->plantstart,
'site_name' => $polygon->site->name ?? '',
Expand All @@ -78,7 +79,7 @@ public function __invoke(EntityModel $entity, string $slug)
'year_of_analysis' => $indicator->year_of_analysis,
'created_at' => $indicator->created_at,
'base_line' => $indicator->created_at,
'data' => [],
'data' => [],
];
if (str_contains($slug, 'treeCoverLoss')) {
$valueYears = json_decode($indicator->value, true);
Expand Down

0 comments on commit 4eeb38c

Please sign in to comment.