Passed
Push — main ( 32f684...3dc3bc )
by Miaad
01:31
created
types/poll.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
BPT.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -240,13 +240,13 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
types/inputMedia.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
types/animation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
types/menuButton.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
types/callbackGame.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
types/voice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
types/passportElementError.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
types/inlineQueryResult.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.