@@ -14,8 +14,7 @@ |
||
| 14 | 14 | if (lock::exist('BPT-HOOK')) {
|
| 15 | 15 | self::telegramVerify(); |
| 16 | 16 | BPT::$update = self::processUpdate(); |
| 17 | - } |
|
| 18 | - else {
|
|
| 17 | + } else {
|
|
| 19 | 18 | self::deleteOldLocks(); |
| 20 | 19 | } |
| 21 | 20 | } |
@@ -217,8 +217,7 @@ discard block |
||
| 217 | 217 | public function __call (string $name, array $arguments) {
|
| 218 | 218 | if (!isset($arguments[1]) && is_array($arguments[0])) {
|
| 219 | 219 | return request::$name(...$arguments[0]); |
| 220 | - } |
|
| 221 | - else {
|
|
| 220 | + } else {
|
|
| 222 | 221 | return request::$name($arguments); |
| 223 | 222 | } |
| 224 | 223 | } |
@@ -226,8 +225,7 @@ discard block |
||
| 226 | 225 | public static function __callStatic (string $name, array $arguments) {
|
| 227 | 226 | if (!isset($arguments[1]) && is_array($arguments[0])) {
|
| 228 | 227 | return request::$name(...$arguments[0]); |
| 229 | - } |
|
| 230 | - else {
|
|
| 228 | + } else {
|
|
| 231 | 229 | return request::$name(...$arguments); |
| 232 | 230 | } |
| 233 | 231 | } |