@@ -242,7 +242,7 @@ |
||
242 | 242 | /** |
243 | 243 | * Loop the getUpdates method for the passed amount of seconds. |
244 | 244 | * |
245 | - * @param $loop_time_in_seconds int |
|
245 | + * @param integer $loop_time_in_seconds int |
|
246 | 246 | */ |
247 | 247 | public function handleGetUpdatesLoop($loop_time_in_seconds) |
248 | 248 | { |
@@ -42,13 +42,13 @@ |
||
42 | 42 | public $webhook; |
43 | 43 | public $selfcrt; |
44 | 44 | |
45 | - /** |
|
46 | - * BotManager constructor that assigns all necessary member variables. |
|
47 | - * |
|
48 | - * @param array $vars |
|
49 | - * |
|
50 | - * @throws \Exception |
|
51 | - */ |
|
45 | + /** |
|
46 | + * BotManager constructor that assigns all necessary member variables. |
|
47 | + * |
|
48 | + * @param array $vars |
|
49 | + * |
|
50 | + * @throws \Exception |
|
51 | + */ |
|
52 | 52 | public function __construct(array $vars) |
53 | 53 | { |
54 | 54 | if (!isset($vars['api_key'], $vars['botname'], $vars['secret'])) { |
@@ -318,13 +318,13 @@ |
||
318 | 318 | */ |
319 | 319 | public function setBotExtras() |
320 | 320 | { |
321 | - isset($this->admins) && $this->telegram->enableAdmins((array)$this->admins); |
|
322 | - isset($this->mysql) && $this->telegram->enableMySql($this->mysql); |
|
323 | - isset($this->botan_token) && $this->telegram->enableBotan($this->botan_token); |
|
321 | + isset($this->admins) && $this->telegram->enableAdmins((array)$this->admins); |
|
322 | + isset($this->mysql) && $this->telegram->enableMySql($this->mysql); |
|
323 | + isset($this->botan_token) && $this->telegram->enableBotan($this->botan_token); |
|
324 | 324 | isset($this->commands_paths) && $this->telegram->addCommandsPaths((array)$this->commands_paths); |
325 | - isset($this->custom_input) && $this->telegram->setCustomInput($this->custom_input); |
|
326 | - isset($this->download_path) && $this->telegram->setDownloadPath($this->download_path); |
|
327 | - isset($this->upload_path) && $this->telegram->setUploadPath($this->upload_path); |
|
325 | + isset($this->custom_input) && $this->telegram->setCustomInput($this->custom_input); |
|
326 | + isset($this->download_path) && $this->telegram->setDownloadPath($this->download_path); |
|
327 | + isset($this->upload_path) && $this->telegram->setUploadPath($this->upload_path); |
|
328 | 328 | |
329 | 329 | if (isset($this->command_configs) && is_array($this->command_configs)) { |
330 | 330 | foreach ($this->command_configs as $command => $config) { |