remove ->toArray() call

pull/14559/head
Art4 2024-11-29 19:50:48 +00:00
parent 69f30a2631
commit e797db8d48
1 changed files with 1 additions and 1 deletions

View File

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