Skip to content

Commit e0a36ba

Browse files
committed
Change scope of $token
1 parent 93442b2 commit e0a36ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Telegram/Bot.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
class Bot
2020
{
21-
private string $token;
21+
protected string $token;
2222
private int $updatesMethod;
2323
private string $apiURL;
2424
private bool $payload;

0 commit comments

Comments
 (0)