forked from eatvio/eatvio-infra
make static analyse part
This commit is contained in:
@@ -5,14 +5,18 @@ namespace App\Livewire\Profile;
|
||||
use App\Models\User;
|
||||
use Asantibanez\LivewireCharts\Models\AreaChartModel;
|
||||
use Livewire\Component;
|
||||
use Illuminate\View\View;
|
||||
|
||||
class WeightChart extends Component
|
||||
{
|
||||
public User $user;
|
||||
|
||||
protected $listeners = ['weight-chart-updated' => '$refresh'];
|
||||
protected function getListeners(): array
|
||||
{
|
||||
return ['weight-chart-updated' => '$refresh'];
|
||||
}
|
||||
|
||||
public function render()
|
||||
public function render(): View
|
||||
{
|
||||
$areaChartModel =
|
||||
(new AreaChartModel())
|
||||
|
||||
Reference in New Issue
Block a user