Lint
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
e7ef0a38c8
commit
998eb8931b
|
@ -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
|
public function handle(array $groups): void
|
||||||
{
|
{
|
||||||
|
|
|
@ -41,7 +41,7 @@ class MassStoreAction
|
||||||
foreach ($members as $member) {
|
foreach ($members as $member) {
|
||||||
foreach ($member->subscription->children as $child) {
|
foreach ($member->subscription->children as $child) {
|
||||||
$invoice->positions()->create([
|
$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,
|
'price' => $child->amount,
|
||||||
'member_id' => $member->id,
|
'member_id' => $member->id,
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue