Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ea5836f44 |
@@ -47,5 +47,10 @@ class PayoffRequestData extends Data
|
||||
public ?DataCollection $requisites = null,
|
||||
public ?TaxData $tax = null,
|
||||
) {}
|
||||
|
||||
public function toArray(): array
|
||||
{
|
||||
return array_filter(parent::toArray(), fn ($v) => $v !== null);
|
||||
}
|
||||
// </SECTION>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user