@@ -40,6 +40,9 @@ |
||
| 40 | 40 | $this->entity = $entity; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | + /** |
|
| 44 | + * @param string $text |
|
| 45 | + */ |
|
| 43 | 46 | protected function sendMessage($text) |
| 44 | 47 | { |
| 45 | 48 | $chatId = $this->getChatId(); |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Teebot; |
| 4 | 4 | |
| 5 | -use Teebot\Exception; |
|
| 6 | 5 | use Teebot\Method\GetUpdates; |
| 7 | 6 | use Teebot\Command\Executor; |
| 8 | 7 | use Teebot\Exception\Fatal; |
@@ -84,6 +84,9 @@ |
||
| 84 | 84 | return null; |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | + /** |
|
| 88 | + * @param string $args |
|
| 89 | + */ |
|
| 87 | 90 | protected function buildUrl($method, $args = null) |
| 88 | 91 | { |
| 89 | 92 | $url = sprintf( |
@@ -36,6 +36,9 @@ |
||
| 36 | 36 | $this->entities = $this->buildEntities($entitiesSource, $entityType); |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | + /** |
|
| 40 | + * @param string $rawData |
|
| 41 | + */ |
|
| 39 | 42 | protected function decodeData($rawData) { |
| 40 | 43 | if (!is_string($rawData) || !strlen($rawData)) { |
| 41 | 44 | return []; |