@@ -65,7 +65,7 @@ |
||
65 | 65 | public int $close_date; |
66 | 66 | |
67 | 67 | |
68 | - public function __construct(stdClass|null $object = null) { |
|
68 | + public function __construct(stdClass | null $object = null) { |
|
69 | 69 | if ($object != null) { |
70 | 70 | parent::__construct($object, self::subs); |
71 | 71 | } |
@@ -240,13 +240,13 @@ discard block |
||
240 | 240 | * @method gameHighScore[]|responseError getGameHighScores (int|null|array $user_id = null, int|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, string|null $token = null, bool|null $return_array = null, bool|null $forgot = null, bool|null $answer = null) Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. On success, returns an Array of GameHighScore objects. |
241 | 241 | * @method gameHighScore[]|responseError getGameHigh (int|null|array $user_id = null, int|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, string|null $token = null, bool|null $return_array = null, bool|null $forgot = null, bool|null $answer = null) Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. On success, returns an Array of GameHighScore objects. |
242 | 242 | */ |
243 | -class BPT extends telegram{ |
|
243 | +class BPT extends telegram { |
|
244 | 244 | public static update $update; |
245 | 245 | |
246 | 246 | public static BPT $handler; |
247 | 247 | |
248 | 248 | |
249 | - public function __construct (array|stdClass $settings) { |
|
249 | + public function __construct(array | stdClass $settings) { |
|
250 | 250 | static::$handler = &$this; |
251 | 251 | settings::init($settings); |
252 | 252 | } |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | settings::done(); |
256 | 256 | } |
257 | 257 | |
258 | - public static function exit (string|null $message = null) { |
|
258 | + public static function exit (string | null $message = null) { |
|
259 | 259 | die($message ?? "<div style='width:98vw;height:98vh;display:flex;justify-content:center;align-items:center;font-size:25vw'>BPT</div>"); |
260 | 260 | } |
261 | 261 | } |
@@ -50,7 +50,7 @@ |
||
50 | 50 | public bool $disable_content_type_detection; |
51 | 51 | |
52 | 52 | |
53 | - public function __construct(stdClass|null $object = null) { |
|
53 | + public function __construct(stdClass | null $object = null) { |
|
54 | 54 | if ($object != null) { |
55 | 55 | parent::__construct($object, self::subs); |
56 | 56 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | public int $file_size; |
34 | 34 | |
35 | 35 | |
36 | - public function __construct(stdClass|null $object = null) { |
|
36 | + public function __construct(stdClass | null $object = null) { |
|
37 | 37 | if ($object != null) { |
38 | 38 | parent::__construct($object, self::subs); |
39 | 39 | } |
@@ -49,7 +49,7 @@ |
||
49 | 49 | public webAppInfo $web_app; |
50 | 50 | |
51 | 51 | |
52 | - public function __construct(stdClass|null $object = null) { |
|
52 | + public function __construct(stdClass | null $object = null) { |
|
53 | 53 | if ($object != null) { |
54 | 54 | parent::__construct($object, self::subs); |
55 | 55 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** Keep all of properties which has sub properties */ |
12 | 12 | private const subs = []; |
13 | 13 | |
14 | - public function __construct(stdClass|null $object = null) { |
|
14 | + public function __construct(stdClass | null $object = null) { |
|
15 | 15 | if ($object != null) { |
16 | 16 | parent::__construct($object, self::subs); |
17 | 17 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | public int $file_size; |
34 | 34 | |
35 | 35 | |
36 | - public function __construct(stdClass|null $object = null) { |
|
36 | + public function __construct(stdClass | null $object = null) { |
|
37 | 37 | if ($object != null) { |
38 | 38 | parent::__construct($object, self::subs); |
39 | 39 | } |
@@ -76,7 +76,7 @@ |
||
76 | 76 | public string $element_hash; |
77 | 77 | |
78 | 78 | |
79 | - public function __construct(stdClass|null $object = null) { |
|
79 | + public function __construct(stdClass | null $object = null) { |
|
80 | 80 | if ($object != null) { |
81 | 81 | parent::__construct($object, self::subs); |
82 | 82 | } |
@@ -314,7 +314,7 @@ |
||
314 | 314 | public string $audio_file_id; |
315 | 315 | |
316 | 316 | |
317 | - public function __construct(stdClass|null $object = null) { |
|
317 | + public function __construct(stdClass | null $object = null) { |
|
318 | 318 | if ($object != null) { |
319 | 319 | parent::__construct($object, self::subs); |
320 | 320 | } |