Fix misteak

This commit is contained in:
Daniil Gentili 2019-10-29 21:00:00 +01:00
parent a3653ecd91
commit ba454eda24
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -45,7 +45,7 @@ class Button implements \JsonSerializable, \ArrayAccess
$params = $donotwait;
$donotwait = false;
}
$async = $params['async']) ?? (isset($this->info['API']->wrapper) ? $this->info['API']->wrapper->async : true);
$async = $params['async'] ?? (isset($this->info['API']->wrapper) ? $this->info['API']->wrapper->async : true);
$method = $donotwait ? 'method_call_async_write' : 'method_call_async_read';
switch ($this->data['_']) {
default: