remove ->toArray() call
parent
69f30a2631
commit
e797db8d48
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue