@@ -258,7 +258,7 @@ discard block |
||
| 258 | 258 | * |
| 259 | 259 | * @throws \Exception |
| 260 | 260 | * |
| 261 | - * @return bool|Command |
|
| 261 | + * @return Command |
|
| 262 | 262 | */ |
| 263 | 263 | public function getCommandByMessage($message = null) |
| 264 | 264 | { |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | /** |
| 307 | 307 | * Validate the command object. |
| 308 | 308 | * |
| 309 | - * @param $commandObject |
|
| 309 | + * @param Command|null $commandObject |
|
| 310 | 310 | * @param $command |
| 311 | 311 | * |
| 312 | 312 | * @throws \Exception |