Skip to content

Commit

Permalink
upd Chat classes
Browse files Browse the repository at this point in the history
  • Loading branch information
iGusev committed Jun 30, 2024
1 parent 7c5ab36 commit 9f90848
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Types/Chat.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function getId()
* @return void
* @throws InvalidArgumentException
*/
public function setId($id)
public function setId($id): void
{
if (is_integer($id) || is_float($id)) {
$this->id = $id;
Expand All @@ -118,7 +118,7 @@ public function getType()
/**
* @param string $type
*/
public function setType($type)
public function setType($type): void
{
$this->type = $type;
}
Expand All @@ -134,7 +134,7 @@ public function getTitle()
/**
* @param string|null $title
*/
public function setTitle($title)
public function setTitle($title): void
{
$this->title = $title;
}
Expand All @@ -150,7 +150,7 @@ public function getUsername()
/**
* @param string|null $username
*/
public function setUsername($username)
public function setUsername($username): void
{
$this->username = $username;
}
Expand All @@ -166,7 +166,7 @@ public function getFirstName()
/**
* @param string|null $firstName
*/
public function setFirstName($firstName)
public function setFirstName($firstName): void
{
$this->firstName = $firstName;
}
Expand All @@ -182,7 +182,7 @@ public function getLastName()
/**
* @param string|null $lastName
*/
public function setLastName($lastName)
public function setLastName($lastName): void
{
$this->lastName = $lastName;
}
Expand All @@ -198,7 +198,7 @@ public function getIsForum()
/**
* @param bool|null $isForum
*/
public function setIsForum($isForum)
public function setIsForum($isForum): void
{
$this->isForum = $isForum;
}
Expand Down

0 comments on commit 9f90848

Please sign in to comment.