Skip to content

A free open source IT asset/license management system

Add docblock

Marcus Moore68efc80154cc
diff --git a/app/Http/Controllers/Reports/CustomComponentReportController.php b/app/Http/Controllers/Reports/CustomComponentReportController.php
index b6b7bbfe20..f02d301bec 100644
--- a/app/Http/Controllers/Reports/CustomComponentReportController.php
+++ b/app/Http/Controllers/Reports/CustomComponentReportController.php
@@ -114,6 +114,11 @@ class CustomComponentReportController extends Controller
return microtime(true) - $_SERVER['REQUEST_TIME_FLOAT'];
}
+ /**
+ * Each key corresponds to a form field name submitted by the front end.
+ * When that field is present in the request, its headers are added to the CSV
+ * and its values closure is called to produce the row data for that column(s).
+ */
private function buildMappings(): array
{
return [