forked from eatvio/eatvio-infra
meeting the requirements of a static analyzer
This commit is contained in:
@@ -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'];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user