Lint
This commit is contained in:
parent
bdf3fa54a9
commit
539e41cffe
|
@ -24,6 +24,9 @@ class Form extends Model implements HasMedia
|
||||||
'config' => 'json',
|
'config' => 'json',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return SluggableConfig
|
||||||
|
*/
|
||||||
public function sluggable(): array
|
public function sluggable(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -93,7 +93,7 @@ class Member extends Model implements Geolocatable
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return array<string, array{source: array<int, string>}>
|
* @return SluggableConfig
|
||||||
*/
|
*/
|
||||||
public function sluggable(): array
|
public function sluggable(): array
|
||||||
{
|
{
|
||||||
|
|
11
phpstan.neon
11
phpstan.neon
|
@ -24,6 +24,7 @@ parameters:
|
||||||
ContributionApiRequestArray: 'array{dateFrom: string, dateUntil: string, zipLocation: string, country: int, eventName: string, member_data: array<int, ContributionMemberData>}'
|
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}'
|
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}'
|
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:
|
ignoreErrors:
|
||||||
-
|
-
|
||||||
|
@ -136,16 +137,6 @@ parameters:
|
||||||
count: 1
|
count: 1
|
||||||
path: app/Payment/SubscriptionResource.php
|
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\\.$#"
|
message: "#^Method Database\\\\Factories\\\\ActivityFactory\\:\\:definition\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
|
|
Loading…
Reference in New Issue