Skip to content

Commit

Permalink
User: Fix errors in the dialog (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 committed Aug 26, 2023
1 parent 5217889 commit 17fa005
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions application/modules/user/models/Dialog.php
Expand Up @@ -104,9 +104,9 @@ public function setId(int $id): Dialog
/**
* Get the ID of the message
*
* @return int
* @return int|null
*/
public function getId(): int
public function getId(): ?int
{
return $this->id;
}
Expand All @@ -127,9 +127,9 @@ public function setCId(int $cid): Dialog
/**
* Get the CONVERSATION_ID of the dialog
*
* @return int
* @return int|null
*/
public function getCId(): int
public function getCId(): ?int
{
return $this->c_id;
}
Expand Down Expand Up @@ -265,9 +265,9 @@ public function setText(string $text): Dialog
/**
* Get the text of the dialog
*
* @return string
* @return string|null
*/
public function getText(): string
public function getText(): ?string
{
return $this->text;
}
Expand Down

0 comments on commit 17fa005

Please sign in to comment.