Bugfix
This commit is contained in:
parent
170308d574
commit
489ce873d0
@ -567,7 +567,7 @@ trait BotAPI
|
|||||||
*/
|
*/
|
||||||
public function parseMode(array $arguments): \Generator
|
public function parseMode(array $arguments): \Generator
|
||||||
{
|
{
|
||||||
if ($arguments['message'] === '' || !isset($arguments['message']) || !isset($arguments['parse_mode'])) {
|
if (($arguments['message'] ?? '') === '' || !isset($arguments['parse_mode'])) {
|
||||||
return $arguments;
|
return $arguments;
|
||||||
}
|
}
|
||||||
if (isset($arguments['parse_mode']['_'])) {
|
if (isset($arguments['parse_mode']['_'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user