forked from eatvio/eatvio-infra
meeting the requirements of a static analyzer
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
namespace App\Livewire\Diary;
|
||||
|
||||
use App\Models\ConsultantDiaryComment;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Livewire\Component;
|
||||
use App\Models\Diary;
|
||||
use Illuminate\Contracts\View\Factory as ViewFactory;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use App\Models\Diary;
|
||||
use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Livewire\Component;
|
||||
|
||||
class ConsultantCommentsEdit extends Component
|
||||
{
|
||||
@@ -16,9 +16,9 @@ class ConsultantCommentsEdit extends Component
|
||||
|
||||
public Diary $diary;
|
||||
|
||||
public Collection $curMeals;
|
||||
public array|Collection $curMeals = [];
|
||||
|
||||
public Collection $typeNames;
|
||||
public array $typeNames;
|
||||
|
||||
public array $comments = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user