mirror of
https://github.com/danog/telerpc.git
synced 2024-11-26 20:14:48 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
d06927498a
commit
0262a6c326
12
src/Main.php
12
src/Main.php
@ -5,12 +5,12 @@ use danog\MadelineProto\RPCErrorException;
|
|||||||
final class Main
|
final class Main
|
||||||
{
|
{
|
||||||
private const GLOBAL_CODES = [
|
private const GLOBAL_CODES = [
|
||||||
'FLOOD_WAIT_%d' => 420,
|
'FLOOD_WAIT_%d' => 420,
|
||||||
'2FA_CONFIRM_WAIT_%d' => 420,
|
'2FA_CONFIRM_WAIT_%d' => 420,
|
||||||
'SLOWMODE_WAIT_%d' => 420,
|
'SLOWMODE_WAIT_%d' => 420,
|
||||||
'TAKEOUT_INIT_DELAY_%d' => 420,
|
'TAKEOUT_INIT_DELAY_%d' => 420,
|
||||||
'FLOOD_PREMIUM_WAIT_%d' => 420,
|
'FLOOD_PREMIUM_WAIT_%d' => 420,
|
||||||
"SESSION_PASSWORD_NEEDED" => 401
|
'SESSION_PASSWORD_NEEDED' => 401,
|
||||||
];
|
];
|
||||||
|
|
||||||
private ?\PDO $pdo = null;
|
private ?\PDO $pdo = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user