Lint
continuous-integration/drone/push Build is failing Details

This commit is contained in:
philipp lang 2024-01-26 15:06:16 +01:00
parent e7ef0a38c8
commit 998eb8931b
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class GroupBulkstoreAction
}
/**
* @param array<int, array{id: int, inner_name: string, level: string}> $groups
* @param array<array-key, mixed> $groups
*/
public function handle(array $groups): void
{

View File

@ -41,7 +41,7 @@ class MassStoreAction
foreach ($members as $member) {
foreach ($member->subscription->children as $child) {
$invoice->positions()->create([
'description' => str($child->name)->replace('{name}', $member->firstname . ' ' . $member->lastname)->replace('{year}', $year),
'description' => str($child->name)->replace('{name}', $member->firstname . ' ' . $member->lastname)->replace('{year}', (string) $year),
'price' => $child->amount,
'member_id' => $member->id,
]);