@@ -159,7 +159,7 @@ |
||
| 159 | 159 | } |
| 160 | 160 | |
| 161 | 161 | /** |
| 162 | - * @return array |
|
| 162 | + * @return MessageEntityArray |
|
| 163 | 163 | */ |
| 164 | 164 | public function getEntities() |
| 165 | 165 | { |
@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Teebot\Entity; |
| 4 | 4 | |
| 5 | -use Teebot\Command\Handler; |
|
| 6 | -use Teebot\Config; |
|
| 7 | - |
|
| 8 | 5 | class Message extends AbstractEntity |
| 9 | 6 | { |
| 10 | 7 | const ENTITY_TYPE = 'Message'; |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | protected function loadConfigFile($configFile) |
| 100 | 100 | { |
| 101 | 101 | if (!is_file($configFile) || !is_readable($configFile)) { |
| 102 | - Output::log(new Fatal('File "' . $configFile . '" does not exists or not readable!')); |
|
| 102 | + Output::log(new Fatal('File "'.$configFile.'" does not exists or not readable!')); |
|
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | $config = require_once($configFile); |
@@ -230,6 +230,6 @@ discard block |
||
| 230 | 230 | return null; |
| 231 | 231 | } |
| 232 | 232 | |
| 233 | - return $this->file_url . $this->token . '/'; |
|
| 233 | + return $this->file_url.$this->token.'/'; |
|
| 234 | 234 | } |
| 235 | 235 | } |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | |
| 7 | 7 | class MessageEntityArray extends AbstractEntity |
| 8 | 8 | { |
| 9 | - const ENTITY_TYPE = 'MessageEntityArray'; |
|
| 9 | + const ENTITY_TYPE = 'MessageEntityArray'; |
|
| 10 | 10 | |
| 11 | 11 | protected $entities; |
| 12 | 12 | |