fix errors
This commit is contained in:
parent
b4ff7fec1e
commit
bf24da2f40
|
@ -35,6 +35,9 @@ class RememberDocument extends Letter
|
||||||
return 'tex.remember';
|
return 'tex.remember';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return array<string, string>
|
||||||
|
*/
|
||||||
public function getPositions(Collection $page): array
|
public function getPositions(Collection $page): array
|
||||||
{
|
{
|
||||||
$memberIds = $page->pluck('id')->toArray();
|
$memberIds = $page->pluck('id')->toArray();
|
||||||
|
@ -68,11 +71,6 @@ class RememberDocument extends Letter
|
||||||
return $page->first()->location;
|
return $page->first()->location;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUsage(Collection $page): string
|
|
||||||
{
|
|
||||||
return "Mitgliedsbeitrag für {$page->familyName}";
|
|
||||||
}
|
|
||||||
|
|
||||||
public function sendAllLabel(): string
|
public function sendAllLabel(): string
|
||||||
{
|
{
|
||||||
return 'Erinnerungen versenden';
|
return 'Erinnerungen versenden';
|
||||||
|
|
85
phpstan.neon
85
phpstan.neon
|
@ -48,26 +48,6 @@ parameters:
|
||||||
count: 1
|
count: 1
|
||||||
path: app/Console/Kernel.php
|
path: app/Console/Kernel.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Method App\\\\Contribution\\\\DvData\\:\\:__construct\\(\\) has parameter \\$members with no value type specified in iterable type array\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Contribution/DvData.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Method App\\\\Contribution\\\\DvData\\:\\:__construct\\(\\) has parameter \\$type with no type specified\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Contribution/DvData.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Method App\\\\Contribution\\\\SolingenData\\:\\:__construct\\(\\) has parameter \\$members with no value type specified in iterable type array\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Contribution/SolingenData.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Method App\\\\Contribution\\\\SolingenData\\:\\:__construct\\(\\) has parameter \\$type with no type specified\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Contribution/SolingenData.php
|
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Unable to resolve the template type TKey in call to function collect$#"
|
message: "#^Unable to resolve the template type TKey in call to function collect$#"
|
||||||
count: 1
|
count: 1
|
||||||
|
@ -213,11 +193,6 @@ parameters:
|
||||||
count: 1
|
count: 1
|
||||||
path: app/Http/Views/MemberTriesResource.php
|
path: app/Http/Views/MemberTriesResource.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Method App\\\\Http\\\\Views\\\\MemberView\\:\\:additional\\(\\) has parameter \\$overwrites with no value type specified in iterable type array\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Http/Views/MemberView.php
|
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Method App\\\\Http\\\\Views\\\\MemberView\\:\\:index\\(\\) has parameter \\$filter with no value type specified in iterable type array\\.$#"
|
message: "#^Method App\\\\Http\\\\Views\\\\MemberView\\:\\:index\\(\\) has parameter \\$filter with no value type specified in iterable type array\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
|
@ -333,31 +308,6 @@ parameters:
|
||||||
count: 1
|
count: 1
|
||||||
path: app/Membership/Requests/StoreRequest.php
|
path: app/Membership/Requests/StoreRequest.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Call to an undefined method App\\\\Pdf\\\\PdfRepository\\:\\:allLabel\\(\\)\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Payment/ActionFactory.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Call to an undefined method App\\\\Pdf\\\\PdfRepository\\:\\:createable\\(\\)\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Payment/ActionFactory.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Call to an undefined method App\\\\Pdf\\\\PdfRepository\\:\\:getDescription\\(\\)\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Payment/ActionFactory.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Call to an undefined method App\\\\Pdf\\\\PdfRepository\\:\\:linkLabel\\(\\)\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Payment/ActionFactory.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Return type of call to method Illuminate\\\\Support\\\\Collection\\<int,App\\\\Pdf\\\\PdfRepository\\>\\:\\:map\\(\\) contains unresolvable type\\.$#"
|
|
||||||
count: 2
|
|
||||||
path: app/Payment/ActionFactory.php
|
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Method App\\\\Payment\\\\PaymentResource\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
|
message: "#^Method App\\\\Payment\\\\PaymentResource\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
|
@ -373,41 +323,6 @@ parameters:
|
||||||
count: 1
|
count: 1
|
||||||
path: app/Payment/SubscriptionResource.php
|
path: app/Payment/SubscriptionResource.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Method App\\\\Pdf\\\\BillType\\:\\:getPositions\\(\\) return type has no value type specified in iterable type array\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Pdf/BillType.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Method App\\\\Pdf\\\\Data\\\\MemberEfzData\\:\\:__construct\\(\\) has parameter \\$sender with no value type specified in iterable type array\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Pdf/Data/MemberEfzData.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Method App\\\\Pdf\\\\LetterRepository\\:\\:getDescription\\(\\) return type has no value type specified in iterable type array\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Pdf/LetterRepository.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Method App\\\\Pdf\\\\LetterRepository\\:\\:getPositions\\(\\) return type has no value type specified in iterable type array\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Pdf/LetterRepository.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Unable to resolve the template type TKey in call to function collect$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Pdf/PdfRepositoryFactory.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Unable to resolve the template type TValue in call to function collect$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Pdf/PdfRepositoryFactory.php
|
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Method App\\\\Pdf\\\\RememberType\\:\\:getPositions\\(\\) return type has no value type specified in iterable type array\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: app/Pdf/RememberType.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\\.$#"
|
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
|
count: 1
|
||||||
|
|
Loading…
Reference in New Issue