Skip to content

Commit

Permalink
fix invalid parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Dec 4, 2023
1 parent 3a5cb01 commit b9fb72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Admin/ReportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3149,7 +3149,7 @@ private function addToInventory(array &$inventory, Site $site, ?Building $buildi
}
}

private function addSecurityNeedColor(Worksheet $sheet, string $cell, integer $i)
private function addSecurityNeedColor(Worksheet $sheet, string $cell, int|null $i)
{
static $colors = [-1 => 'FFFFFF', 0 => 'FFFFFF',1 => '8CD17D',2 => 'F1CE63',3 => 'F28E2B',4 => 'E15759'];
$sheet->getStyle($cell)
Expand Down

0 comments on commit b9fb72d

Please sign in to comment.