@@ -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; |