@@ -193,7 +193,7 @@ |
||
| 193 | 193 | * @param bool $isCommand Boolean flag which indicates that passed entity should |
| 194 | 194 | * be treated as a command |
| 195 | 195 | * |
| 196 | - * @return bool |
|
| 196 | + * @return boolean|null |
|
| 197 | 197 | */ |
| 198 | 198 | protected function triggerEvent(AbstractEntity $entity, AbstractEntity $parent = null, $isCommand = false) |
| 199 | 199 | { |
@@ -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'; |