You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modules/Activity/app/Filament/Resources/ActivityResource/Schemas/ActivityForm.php:16 [class.notFound] Method Modules\Activity\Filament\Resources\ActivityResource\Schemas\ActivityForm::getFormSchema() has invalid return type Filament\Forms\Components\Component.
Modules/Activity/app/Filament/Resources/ActivityResource/Schemas/ActivityForm.php:18 [return.type] Method Modules\Activity\Filament\Resources\ActivityResource\Schemas\ActivityForm::getFormSchema() should return array<int|string, Filament\Forms\Components\Component> but returns array<string, Filament\Forms\Components\KeyValue|Filament\Forms\Components\TextInput>.
Modules/Activity/app/Filament/Resources/ActivityResource/Schemas/ActivityInfolist.php:15 [class.notFound] Method Modules\Activity\Filament\Resources\ActivityResource\Schemas\ActivityInfolist::getInfolistSchema() has invalid return type Filament\Infolists\Components\Component.
Modules/Activity/app/Filament/Resources/ActivityResource/Schemas/ActivityInfolist.php:17 [return.type] Method Modules\Activity\Filament\Resources\ActivityResource\Schemas\ActivityInfolist::getInfolistSchema() should return array<int|string, Filament\Infolists\Components\Component> but returns array<string, Filament\Infolists\Components\TextEntry>.
Modules/Activity/app/Filament/Resources/ActivityResource/Tables/ActivitysTable.php:18 [phpDoc.parseError] PHPDoc tag @return has invalid value (array<int|string, \Filament\Tables\Columns\Column>): Unexpected token "\|string,", expected '>' at offset 28 on line 2
Modules/Activity/app/Filament/Resources/SnapshotResource/Schemas/SnapshotForm.php:16 [class.notFound] Method Modules\Activity\Filament\Resources\SnapshotResource\Schemas\SnapshotForm::getFormSchema() has invalid return type Filament\Forms\Components\Component.
Modules/Activity/app/Filament/Resources/SnapshotResource/Schemas/SnapshotForm.php:18 [return.type] Method Modules\Activity\Filament\Resources\SnapshotResource\Schemas\SnapshotForm::getFormSchema() should return array<int|string, Filament\Forms\Components\Component> but returns array<string, Filament\Forms\Components\KeyValue|Filament\Forms\Components\TextInput>.
Modules/Activity/app/Filament/Resources/StoredEventResource/Schemas/StoredEventForm.php:18 [class.notFound] Method Modules\Activity\Filament\Resources\StoredEventResource\Schemas\StoredEventForm::getFormSchema() has invalid return type Filament\Forms\Components\Component.
Modules/Activity/app/Filament/Resources/StoredEventResource/Schemas/StoredEventForm.php:20 [return.type] Method Modules\Activity\Filament\Resources\StoredEventResource\Schemas\StoredEventForm::getFormSchema() should return array<int|string, Filament\Forms\Components\Component> but returns array<string, Filament\Forms\Components\DateTimePicker|Filament\Forms\Components\KeyValue|Filament\Forms\Components\Textarea|Filament\Forms\Components\TextInput>.
Modules/Activity/lang/it/snapshot.php:54 [array.duplicateKey] Array has 2 duplicate keys with value 'label' ('label', 'label').
Modules/Activity/lang/it/snapshot.php:55 [array.duplicateKey] Array has 2 duplicate keys with value 'plural_label' ('plural_label', 'plural_label').
Modules/Activity/lang/it/snapshot.php:56 [array.duplicateKey] Array has 2 duplicate keys with value 'actions' ('actions', 'actions').
Note operative
Prima di correggere, consultare la documentazione PHPStan dell'identificatore segnalato, ad esempio https://phpstan.org/error-identifiers/<identifier>.
Non usare baseline, @phpstan-ignore, cast o allargamenti di tipo per silenziare il problema: correggere la causa reale.
Questo aggiornamento deriva dal root sweep aggregato; puo' differire da un run isolato del modulo se bootstrap/config locali cambiano.
Aggiornamento agente 2026-05-26, refresh ultimo run PHPStan.
Sweep PHPStan root
cd laravel && ./vendor/bin/phpstan analyse Modules --error-format=json5151ERRORModules:101Modules/Activity16cd laravel/Modules/Activity && git remote -v:laraxot/module_activity_fila5git@github.com:laraxot/module_activity_fila5.gitIdentificatori
argument.type: 4array.duplicateKey: 3class.notFound: 4phpDoc.parseError: 1return.type: 4Errori
Modules/Activity/app/Filament/Pages/ListLogActivities.php:67[argument.type] Parameter Bump stefanzweifel/git-auto-commit-action from 5 to 7 #2 $array of function implode expects array, array given.Modules/Activity/app/Filament/Pages/ListLogActivities.php:87[argument.type] Parameter Bump stefanzweifel/git-auto-commit-action from 5 to 7 #2 $array of function implode expects array, array given.Modules/Activity/app/Filament/Pages/ListLogActivities.php:256[argument.type] Parameter Bump stefanzweifel/git-auto-commit-action from 5 to 7 #2 $array of function implode expects array, array given.Modules/Activity/app/Filament/Pages/ListLogActivities.php:267[argument.type] Parameter Bump stefanzweifel/git-auto-commit-action from 5 to 7 #2 $array of function implode expects array, array given.Modules/Activity/app/Filament/Resources/ActivityResource/Schemas/ActivityForm.php:16[class.notFound] Method Modules\Activity\Filament\Resources\ActivityResource\Schemas\ActivityForm::getFormSchema() has invalid return type Filament\Forms\Components\Component.Modules/Activity/app/Filament/Resources/ActivityResource/Schemas/ActivityForm.php:18[return.type] Method Modules\Activity\Filament\Resources\ActivityResource\Schemas\ActivityForm::getFormSchema() should return array<int|string, Filament\Forms\Components\Component> but returns array<string, Filament\Forms\Components\KeyValue|Filament\Forms\Components\TextInput>.Modules/Activity/app/Filament/Resources/ActivityResource/Schemas/ActivityInfolist.php:15[class.notFound] Method Modules\Activity\Filament\Resources\ActivityResource\Schemas\ActivityInfolist::getInfolistSchema() has invalid return type Filament\Infolists\Components\Component.Modules/Activity/app/Filament/Resources/ActivityResource/Schemas/ActivityInfolist.php:17[return.type] Method Modules\Activity\Filament\Resources\ActivityResource\Schemas\ActivityInfolist::getInfolistSchema() should return array<int|string, Filament\Infolists\Components\Component> but returns array<string, Filament\Infolists\Components\TextEntry>.Modules/Activity/app/Filament/Resources/ActivityResource/Tables/ActivitysTable.php:18[phpDoc.parseError] PHPDoc tag @return has invalid value (array<int|string, \Filament\Tables\Columns\Column>): Unexpected token "\|string,", expected '>' at offset 28 on line 2Modules/Activity/app/Filament/Resources/SnapshotResource/Schemas/SnapshotForm.php:16[class.notFound] Method Modules\Activity\Filament\Resources\SnapshotResource\Schemas\SnapshotForm::getFormSchema() has invalid return type Filament\Forms\Components\Component.Modules/Activity/app/Filament/Resources/SnapshotResource/Schemas/SnapshotForm.php:18[return.type] Method Modules\Activity\Filament\Resources\SnapshotResource\Schemas\SnapshotForm::getFormSchema() should return array<int|string, Filament\Forms\Components\Component> but returns array<string, Filament\Forms\Components\KeyValue|Filament\Forms\Components\TextInput>.Modules/Activity/app/Filament/Resources/StoredEventResource/Schemas/StoredEventForm.php:18[class.notFound] Method Modules\Activity\Filament\Resources\StoredEventResource\Schemas\StoredEventForm::getFormSchema() has invalid return type Filament\Forms\Components\Component.Modules/Activity/app/Filament/Resources/StoredEventResource/Schemas/StoredEventForm.php:20[return.type] Method Modules\Activity\Filament\Resources\StoredEventResource\Schemas\StoredEventForm::getFormSchema() should return array<int|string, Filament\Forms\Components\Component> but returns array<string, Filament\Forms\Components\DateTimePicker|Filament\Forms\Components\KeyValue|Filament\Forms\Components\Textarea|Filament\Forms\Components\TextInput>.Modules/Activity/lang/it/snapshot.php:54[array.duplicateKey] Array has 2 duplicate keys with value 'label' ('label', 'label').Modules/Activity/lang/it/snapshot.php:55[array.duplicateKey] Array has 2 duplicate keys with value 'plural_label' ('plural_label', 'plural_label').Modules/Activity/lang/it/snapshot.php:56[array.duplicateKey] Array has 2 duplicate keys with value 'actions' ('actions', 'actions').Note operative
https://phpstan.org/error-identifiers/<identifier>.@phpstan-ignore, cast o allargamenti di tipo per silenziare il problema: correggere la causa reale.