@@ -801,7 +801,7 @@ |
||
| 801 | 801 | /** |
| 802 | 802 | * Delete any assigned webhook |
| 803 | 803 | * |
| 804 | - * @return mixed |
|
| 804 | + * @return ServerResponse |
|
| 805 | 805 | * @throws \Longman\TelegramBot\Exception\TelegramException |
| 806 | 806 | */ |
| 807 | 807 | public function deleteWebhook() |
@@ -856,7 +856,7 @@ |
||
| 856 | 856 | protected function ucfirstUnicode($str, $encoding = 'UTF-8') |
| 857 | 857 | { |
| 858 | 858 | return mb_strtoupper(mb_substr($str, 0, 1, $encoding), $encoding) |
| 859 | - . mb_strtolower(mb_substr($str, 1, mb_strlen($str), $encoding), $encoding); |
|
| 859 | + . mb_strtolower(mb_substr($str, 1, mb_strlen($str), $encoding), $encoding); |
|
| 860 | 860 | } |
| 861 | 861 | |
| 862 | 862 | /** |