@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | //Only get enabled Admin and User commands |
| 57 | 57 | /** @var Command[] $command_objs */ |
| 58 | - $command_objs = array_filter($this->telegram->getCommandsList(), function ($command_obj) { |
|
| 58 | + $command_objs = array_filter($this->telegram->getCommandsList(), function($command_obj) { |
|
| 59 | 59 | /** @var Command $command_obj */ |
| 60 | 60 | return !$command_obj->isSystemCommand() && $command_obj->isEnabled(); |
| 61 | 61 | }); |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | ); |
| 70 | 70 | |
| 71 | 71 | foreach ($command_objs as $command) { |
| 72 | - if($command->getShowInHelp()) { |
|
| 72 | + if ($command->getShowInHelp()) { |
|
| 73 | 73 | $text .= sprintf( |
| 74 | 74 | '/%s - %s' . PHP_EOL, |
| 75 | 75 | $command->getName(), |