Minor Correction
This commit is contained in:
parent
5d99aa5e14
commit
dba35af7f6
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@
|
|||
{
|
||||
return [
|
||||
'poll_id' => $this->poll_id,
|
||||
'user' => ($this->user instanceof ObjectTypeInterface) ? $this->user->toArray() : null,
|
||||
'user' => $this->user?->toArray(),
|
||||
'option_ids' => $this->option_ids,
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue