Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-07-13 15:21:08 +00:00 committed by StyleCI Bot
parent 94f20292c3
commit 90896a46df
3 changed files with 7 additions and 6 deletions

View File

@ -65,7 +65,6 @@ class CombinedAPI
foreach ($paths as $path => $settings) { foreach ($paths as $path => $settings) {
$this->addInstance($path, $settings); $this->addInstance($path, $settings);
} }
} }
public function addInstance($path, $settings = []) public function addInstance($path, $settings = [])
@ -74,6 +73,7 @@ class CombinedAPI
if (isset($this->event_handler_instance)) { if (isset($this->event_handler_instance)) {
$this->event_handler_instance->referenceInstance($path); $this->event_handler_instance->referenceInstance($path);
} }
return; return;
} }

View File

@ -478,6 +478,7 @@ trait PeerHandler
$this->full_chats[$partial['bot_api_id']] = $res; $this->full_chats[$partial['bot_api_id']] = $res;
$partial = $this->get_info($id); $partial = $this->get_info($id);
return array_merge($partial, $res); return array_merge($partial, $res);
} }