mirror of
https://github.com/danog/telerpc.git
synced 2024-11-30 04:38:57 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
8a69e9af2d
commit
afcf8e8928
@ -272,7 +272,7 @@ final class Main
|
||||
&& !self::isBad($_REQUEST['error'], (int) $_REQUEST['code'])
|
||||
&& !($_REQUEST['error'] === 'Timeout' && !\in_array(\strtolower($_REQUEST['method']), ['messages.getbotcallbackanswer', 'messages.getinlinebotresults']))
|
||||
&& !($_REQUEST['error'] === 'BOT_MISSING' && \in_array($_REQUEST['method'], ['stickers.changeStickerPosition', 'stickers.createStickerSet', 'messages.uploadMedia']))
|
||||
) {
|
||||
) {
|
||||
$error = self::sanitize($_REQUEST['error']);
|
||||
$method = $_REQUEST['method'];
|
||||
$code = $_REQUEST['code'];
|
||||
|
Loading…
Reference in New Issue
Block a user