This commit is contained in:
Philipp Lang 2024-01-14 13:51:48 +01:00 committed by philipp lang
parent bdf3fa54a9
commit 539e41cffe
3 changed files with 5 additions and 11 deletions

View File

@ -24,6 +24,9 @@ class Form extends Model implements HasMedia
'config' => 'json',
];
/**
* @return SluggableConfig
*/
public function sluggable(): array
{
return [

View File

@ -93,7 +93,7 @@ class Member extends Model implements Geolocatable
}
/**
* @return array<string, array{source: array<int, string>}>
* @return SluggableConfig
*/
public function sluggable(): array
{

View File

@ -24,6 +24,7 @@ parameters:
ContributionApiRequestArray: 'array{dateFrom: string, dateUntil: string, zipLocation: string, country: int, eventName: string, member_data: array<int, ContributionMemberData>}'
MailgatewayCustomField: 'array{name: string, label: string, type: string, storeValidator: string, updateValidator: string, default: string}'
MailgatewayParsedCustomField: 'array{name: string, label: string, type: string, storeValidator: string, updateValidator: string, default: string, is_required: bool}'
SluggableConfig: 'array<string, array{source: array<int, string>}>'
ignoreErrors:
-
@ -136,16 +137,6 @@ parameters:
count: 1
path: app/Payment/SubscriptionResource.php
-
message: "#^PHPDoc type array of property App\\\\Providers\\\\AuthServiceProvider\\:\\:\\$policies is not covariant with PHPDoc type array\\<class\\-string, class\\-string\\> of overridden property Illuminate\\\\Foundation\\\\Support\\\\Providers\\\\AuthServiceProvider\\:\\:\\$policies\\.$#"
count: 1
path: app/Providers/AuthServiceProvider.php
-
message: "#^Property App\\\\Providers\\\\AuthServiceProvider\\:\\:\\$policies type has no value type specified in iterable type array\\.$#"
count: 1
path: app/Providers/AuthServiceProvider.php
-
message: "#^Method Database\\\\Factories\\\\ActivityFactory\\:\\:definition\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1