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

@@ -4,16 +4,14 @@ namespace App\Livewire\Chat;
use Illuminate\Contracts\View\Factory as ViewFactory;
use Illuminate\Contracts\View\View;
use Illuminate\Support\Collection;
use Livewire\Component;
class LastUsers extends Component
{
/**
* @var mixed
*/
public $lastChatUsers;
public Collection $lastChatUsers;
public int $activeUserId;
public ?int $activeUserId = null;
public int $curUserId;