meeting the requirements of a static analyzer

This commit is contained in:
Anatoliy Poloz
2024-01-15 17:11:55 +03:00
81 changed files with 1320 additions and 501 deletions

View File

@@ -12,11 +12,6 @@ class WeightChart extends Component
{
public User $user;
/**
* @var array
* */
protected $listeners = ['weight-chart-updated' => '$refresh'];
public function render(): View|ViewFactory
{
$areaChartModel =
@@ -46,4 +41,9 @@ class WeightChart extends Component
]
);
}
protected function getListeners(): array
{
return ['weight-chart-updated' => '$refresh'];
}
}