@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace PhpBotFramework\Core; |
4 | 4 | |
5 | 5 | use PhpBotFramework\Exceptions\BotException; |
6 | - |
|
7 | 6 | use PhpBotFramework\Entities\Message; |
8 | 7 | use PhpBotFramework\Entities\CallbackQuery; |
9 | 8 | use PhpBotFramework\Entities\ChosenInlineResult; |
@@ -18,8 +18,6 @@ |
||
18 | 18 | |
19 | 19 | namespace PhpBotFramework\Test; |
20 | 20 | |
21 | -use PhpBotFramework\Entities\Message; |
|
22 | - |
|
23 | 21 | /* \class FakeUpdate |
24 | 22 | * \brief Contains abstract methods for processing fake updates. |
25 | 23 | */ |
@@ -19,9 +19,7 @@ |
||
19 | 19 | namespace PhpBotFramework\Core; |
20 | 20 | |
21 | 21 | use PhpBotFramework\Exceptions\BotException; |
22 | - |
|
23 | 22 | use PhpBotFramework\Entities\File as TelegramFile; |
24 | - |
|
25 | 23 | use PhpBotFramework\Entities\InlineKeyboard; |
26 | 24 | |
27 | 25 | /** |
@@ -19,7 +19,6 @@ |
||
19 | 19 | namespace PhpBotFramework\Core; |
20 | 20 | |
21 | 21 | use PhpBotFramework\Entities\Message; |
22 | - |
|
23 | 22 | use PhpBotFramework\Entities\File as TelegramFile; |
24 | 23 | |
25 | 24 | trait Send |
@@ -63,6 +63,4 @@ |
||
63 | 63 | } |
64 | 64 | |
65 | 65 | // If not return the data from the array after checking it is set |
66 | - return isset($this->container[$offset]) ? $this->container[$offset] : null; |
|
67 | - } |
|
68 | -} |
|
66 | + return isset($this->container[$offset]) ? $this->container[$offset |
|
69 | 67 | \ No newline at end of file |
@@ -102,10 +102,4 @@ |
||
102 | 102 | } |
103 | 103 | } |
104 | 104 | |
105 | - return $message; |
|
106 | - } |
|
107 | -} |
|
108 | - |
|
109 | -/* |
|
110 | - * @} |
|
111 | - */ |
|
105 | + return $message |
|
112 | 106 | \ No newline at end of file |