@@ -99,7 +99,7 @@ |
||
99 | 99 | ): bool |
100 | 100 | { |
101 | 101 | $sendMessage = new SendMessage(); |
102 | - $sendMessage->chat_id = (string)$chatId; |
|
102 | + $sendMessage->chat_id = (string) $chatId; |
|
103 | 103 | $sendMessage->text = $text; |
104 | 104 | $sendMessage->parse_mode = $parseMode; |
105 | 105 | $sendMessage->disable_web_page_preview = $disableWebPreview; |
@@ -36,7 +36,7 @@ |
||
36 | 36 | $user = $userRepository->findUserByLogin($login); |
37 | 37 | |
38 | 38 | if (!$user) { |
39 | - throw $this->createNotFoundException('User ' . $login . ' not found.'); |
|
39 | + throw $this->createNotFoundException('User '.$login.' not found.'); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | $subscriberEventsPagination = $paginator->paginate( |
@@ -142,7 +142,7 @@ |
||
142 | 142 | return $this->firstName; |
143 | 143 | } |
144 | 144 | |
145 | - public function updateFromMessageData(string $firstName, ?string $lastName, ?string $username, int $chatId): void |
|
145 | + public function updateFromMessageData(string $firstName, ?string $lastName, ?string $username, int $chatId) : void |
|
146 | 146 | { |
147 | 147 | $this->firstName = $firstName; |
148 | 148 | $this->lastName = $lastName; |