Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-07-31 17:38:10 +00:00 committed by StyleCI Bot
parent 40b99a3f24
commit e02e042740

View File

@ -85,8 +85,8 @@ $m = new \danog\MadelineProto\API($settings);
$m->import_authorization($MadelineProto->export_authorization()); $m->import_authorization($MadelineProto->export_authorization());
*/ */
$songs = [ $songs = [
'Aronchupa - Little Swing' => 'input.raw', 'Aronchupa - Little Swing' => 'input.raw',
'Parov Stelar - Booty Swing' => 'inputa.raw', 'Parov Stelar - Booty Swing' => 'inputa.raw',
'Caravan Palace - Lone Digger' => 'inputb.raw', 'Caravan Palace - Lone Digger' => 'inputb.raw',
// 'Swingrowers - Butterfly' => 'inputc.raw', // 'Swingrowers - Butterfly' => 'inputc.raw',
'Postmodern Jukebox - Thrift Shop' => 'inputd.raw', 'Postmodern Jukebox - Thrift Shop' => 'inputd.raw',
@ -117,9 +117,9 @@ $calls = [];
var_dump($update['update']['phone_call']->configuration['shared_config']); var_dump($update['update']['phone_call']->configuration['shared_config']);
*/ */
try { try {
// $MadelineProto->messages->sendMessage(['peer' => $update['update']['phone_call']->getOtherID(), 'message' => 'Emojis: '.implode('', $update['update']['phone_call']->getVisualization())]); // $MadelineProto->messages->sendMessage(['peer' => $update['update']['phone_call']->getOtherID(), 'message' => 'Emojis: '.implode('', $update['update']['phone_call']->getVisualization())]);
} catch (\danog\MadelineProto\RPCErrorException $e) {} } catch (\danog\MadelineProto\RPCErrorException $e) {
}
} }
} }