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

@@ -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 = [];