Oops
This commit is contained in:
parent
32d8e233b8
commit
a89e968a40
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@
|
|||
use InvalidArgumentException;
|
||||
use TgBotLib\Exceptions\TelegramException;
|
||||
use TgBotLib\Objects\Update;
|
||||
use function PHPUnit\Framework\isEmpty;
|
||||
|
||||
class WebhookBot extends Bot
|
||||
{
|
||||
|
@ -52,7 +51,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
if(isEmpty($secretToken))
|
||||
if(empty($secretToken))
|
||||
{
|
||||
throw new InvalidArgumentException('Secret token cannot be empty.');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue