adding some comments

This commit is contained in:
Lucas Silva
2023-05-05 10:42:40 +02:00
parent 59cd8466be
commit 176c3c0e27
2 changed files with 4 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ class WidgetBar implements WidgetProviderInterface
{
// Process the data for the bar widget
// In this example, we assume the data is an array of numbers
// Here, I think we suppose to make a query to the database to get some number
// For now just sending a number
$barData = $data['bar'];
// Return the widget data as an associative array