1
0
mirror of synced 2024-11-22 03:46:02 +03:00

Phpstan fixes

This commit is contained in:
Alex Komarichev 2024-02-06 12:05:24 +03:00
parent e14afbf773
commit 8892e5fe5a
2 changed files with 5 additions and 5 deletions

View File

@ -215,7 +215,7 @@ class ChannelSettings implements ModelInterface
/**
* @param ChannelSettingsSuggestions $suggestions
*/
public function setSuggestions(ChannelSettingsSuggestions $suggestions)
public function setSuggestions(ChannelSettingsSuggestions $suggestions): void
{
$this->suggestions = $suggestions;
}

View File

@ -13,7 +13,7 @@ namespace RetailCrm\Mg\Bot\Model\Entity\Channel;
use JMS\Serializer\Annotation\Accessor;
use JMS\Serializer\Annotation\SkipWhenEmpty;
use JMS\Serializer\Annotation\Type;
use Retailcrm\Mg\Bot\Model\ModelInterface;
use RetailCrm\Mg\Bot\Model\ModelInterface;
/**
* ChannelSettingsSuggestions class
@ -61,7 +61,7 @@ class ChannelSettingsSuggestions implements ModelInterface
/**
* @param string $email
*/
public function setEmail(string $email)
public function setEmail(string $email): void
{
$this->email = $email;
}
@ -77,7 +77,7 @@ class ChannelSettingsSuggestions implements ModelInterface
/**
* @param string $phone
*/
public function setPhone(string $phone)
public function setPhone(string $phone): void
{
$this->phone = $phone;
}
@ -93,7 +93,7 @@ class ChannelSettingsSuggestions implements ModelInterface
/**
* @param string $text
*/
public function setText(string $text)
public function setText(string $text): void
{
$this->text = $text;
}