Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-06-25 10:31:35 +00:00 committed by StyleCI Bot
parent 47f60e77b9
commit b03d1152fe

View File

@ -14,7 +14,8 @@ namespace danog\MadelineProto\VoIP;
trait CallbackHandler
{
function get_incoming_call_callbacks() {
public function get_incoming_call_callbacks()
{
$callbacks = $this->settings['calls']['incoming_callback'] === 'default_incoming_call_callback' ? [] : $this->settings['calls']['incoming_callback']();
}
}
}