From 8892e5fe5a8f468151feae668fc46ec4de8a5679 Mon Sep 17 00:00:00 2001 From: Alex Komarichev Date: Tue, 6 Feb 2024 12:05:24 +0300 Subject: [PATCH] Phpstan fixes --- src/Bot/Model/Entity/Channel/ChannelSettings.php | 2 +- .../Model/Entity/Channel/ChannelSettingsSuggestions.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Bot/Model/Entity/Channel/ChannelSettings.php b/src/Bot/Model/Entity/Channel/ChannelSettings.php index d9b2789..d2954d0 100644 --- a/src/Bot/Model/Entity/Channel/ChannelSettings.php +++ b/src/Bot/Model/Entity/Channel/ChannelSettings.php @@ -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; } diff --git a/src/Bot/Model/Entity/Channel/ChannelSettingsSuggestions.php b/src/Bot/Model/Entity/Channel/ChannelSettingsSuggestions.php index a3497ca..6f1406a 100644 --- a/src/Bot/Model/Entity/Channel/ChannelSettingsSuggestions.php +++ b/src/Bot/Model/Entity/Channel/ChannelSettingsSuggestions.php @@ -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; }