mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-23 11:39:19 -05:00
update: livewire components
- more phpstan fixes
This commit is contained in:
@@ -34,6 +34,9 @@ use Symfony\Component\HttpFoundation\StreamedResponse;
|
||||
|
||||
class BackupPanel extends Component
|
||||
{
|
||||
/**
|
||||
* @var array<string, string>
|
||||
*/
|
||||
protected $listeners = ['refreshBackups' => '$refresh'];
|
||||
|
||||
/**
|
||||
|
||||
@@ -74,6 +74,9 @@ class BlockIpAddress extends Component
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Illuminate\Contracts\Pagination\LengthAwarePaginator<BlockedIp>
|
||||
*/
|
||||
#[Computed]
|
||||
final public function ipAddresses(): \Illuminate\Contracts\Pagination\LengthAwarePaginator
|
||||
{
|
||||
|
||||
@@ -69,7 +69,7 @@ class InviteLogSearch extends Component
|
||||
};
|
||||
}
|
||||
|
||||
final public function updatingGroupBy($value): void
|
||||
final public function updatingGroupBy(string $value): void
|
||||
{
|
||||
$this->sortField = match ($value) {
|
||||
'user_id' => 'created_at_max',
|
||||
|
||||
@@ -325,21 +325,6 @@ parameters:
|
||||
count: 1
|
||||
path: app/Http/Livewire/BackupPanel.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Http\\\\Livewire\\\\BackupPanel\\:\\:\\$listeners has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Livewire/BackupPanel.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Http\\\\Livewire\\\\BlockIpAddress\\:\\:ipAddresses\\(\\) return type with generic interface Illuminate\\\\Contracts\\\\Pagination\\\\LengthAwarePaginator does not specify its types\\: TItem$#"
|
||||
count: 1
|
||||
path: app/Http/Livewire/BlockIpAddress.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Http\\\\Livewire\\\\InviteLogSearch\\:\\:updatingGroupBy\\(\\) has parameter \\$value with no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Livewire/InviteLogSearch.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 0 on array\\<int, string\\>\\|false\\.$#"
|
||||
count: 1
|
||||
|
||||
Reference in New Issue
Block a user