Fix misteak
This commit is contained in:
parent
a3653ecd91
commit
ba454eda24
@ -45,7 +45,7 @@ class Button implements \JsonSerializable, \ArrayAccess
|
|||||||
$params = $donotwait;
|
$params = $donotwait;
|
||||||
$donotwait = false;
|
$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';
|
$method = $donotwait ? 'method_call_async_write' : 'method_call_async_read';
|
||||||
switch ($this->data['_']) {
|
switch ($this->data['_']) {
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user