Apply fixes from StyleCI
This commit is contained in:
parent
9eda7c34e9
commit
91f43c5442
@ -108,7 +108,6 @@ class Logger
|
||||
try {
|
||||
\Threaded::extend('\danog\MadelineProto\VoIP');
|
||||
} catch (\RuntimeException $e) {
|
||||
|
||||
}
|
||||
}
|
||||
self::$colors[self::ULTRA_VERBOSE] = implode(';', [self::foreground['light_gray'], self::set['dim']]);
|
||||
|
@ -97,8 +97,8 @@ trait AuthKeyHandler
|
||||
while ($this->calls[$params['id']]['controller']->getState() !== \danog\MadelineProto\VoIP::STATE_ESTABLISHED);
|
||||
while ($this->calls[$params['id']]['controller']->getOutputState() !== \danog\MadelineProto\VoIP::AUDIO_STATE_RUNNING);
|
||||
|
||||
$writePeriod = $this->calls[$params['id']]['controller']->getInputParams()["writePeriod"];
|
||||
$samplesSize = $this->calls[$params['id']]['controller']->getInputParams()["samplesSize"];
|
||||
$writePeriod = $this->calls[$params['id']]['controller']->getInputParams()['writePeriod'];
|
||||
$samplesSize = $this->calls[$params['id']]['controller']->getInputParams()['samplesSize'];
|
||||
|
||||
var_dump('SENDING DAT');
|
||||
$f = fopen('output.raw', 'r');
|
||||
@ -113,7 +113,6 @@ trait AuthKeyHandler
|
||||
$this->calls[$params['id']]['controller']->writeSamples(stream_get_contents($f, $samplesSize));
|
||||
}
|
||||
|
||||
|
||||
$this->handle_pending_updates();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user