Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-03-30 10:54:16 +00:00 committed by StyleCI Bot
parent 1a60d87c3a
commit 5fd727292d

View File

@ -241,7 +241,7 @@ Propic art by @magnaluna on [deviantart](https://magnaluna.deviantart.com).", 'p
unset($this->times_messages[$key]); unset($this->times_messages[$key]);
} }
} }
\danog\MadelineProto\Logger::log(count($this->calls)." calls running!"); \danog\MadelineProto\Logger::log(count($this->calls).' calls running!');
foreach ($this->calls as $key => $call) { foreach ($this->calls as $key => $call) {
if ($call->getCallState() === \danog\MadelineProto\VoIP::CALL_STATE_ENDED) { if ($call->getCallState() === \danog\MadelineProto\VoIP::CALL_STATE_ENDED) {
unset($this->calls[$key]); unset($this->calls[$key]);