Revert "remove ->toArray() call"

This reverts commit e797db8d48.
This commit is contained in:
Art4 2024-11-29 20:53:15 +00:00
parent e797db8d48
commit bdae3c56c0

View file

@ -158,7 +158,7 @@ class User extends BaseDataTransferObject
if ($status === null) {
unset($this->status);
} else {
$this->status = $status;
$this->status = $status->toArray();
}
// Unused optional fields