Passed
Push — main ( a1dfd6...7044f1 )
by Miaad
01:36
created
types/encryptedCredentials.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public string $secret;
26 26
 
27 27
 
28
-    public function __construct(stdClass|null $object = null) {
28
+    public function __construct(stdClass | null $object = null) {
29 29
         if ($object != null) {
30 30
             parent::__construct($object, self::subs);
31 31
         }
Please login to merge, or discard this patch.
types/videoChatScheduled.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public int $start_date;
16 16
 
17 17
 
18
-    public function __construct(stdClass|null $object = null) {
18
+    public function __construct(stdClass | null $object = null) {
19 19
         if ($object != null) {
20 20
             parent::__construct($object, self::subs);
21 21
         }
Please login to merge, or discard this patch.
types/passportData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public encryptedCredentials $credentials;
25 25
 
26 26
 
27
-    public function __construct(stdClass|null $object = null) {
27
+    public function __construct(stdClass | null $object = null) {
28 28
         if ($object != null) {
29 29
             parent::__construct($object, self::subs);
30 30
         }
Please login to merge, or discard this patch.
types/pollAnswer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public array $option_ids;
25 25
 
26 26
 
27
-    public function __construct(stdClass|null $object = null) {
27
+    public function __construct(stdClass | null $object = null) {
28 28
         if ($object != null) {
29 29
             parent::__construct($object, self::subs);
30 30
         }
Please login to merge, or discard this patch.
types/sentWebAppMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public string $inline_message_id;
19 19
 
20 20
 
21
-    public function __construct(stdClass|null $object = null) {
21
+    public function __construct(stdClass | null $object = null) {
22 22
         if ($object != null) {
23 23
             parent::__construct($object, self::subs);
24 24
         }
Please login to merge, or discard this patch.
types/inlineKeyboardMarkup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     public array $inline_keyboard;
20 20
 
21 21
 
22
-    public function __construct(stdClass|null $object = null) {
22
+    public function __construct(stdClass | null $object = null) {
23 23
         if ($object != null) {
24 24
             parent::__construct($object, self::subs);
25 25
         }
Please login to merge, or discard this patch.
types/chat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
     public chatLocation $location;
105 105
 
106 106
 
107
-    public function __construct(stdClass|null $object = null) {
107
+    public function __construct(stdClass | null $object = null) {
108 108
         if ($object != null) {
109 109
             parent::__construct($object, self::subs);
110 110
         }
Please login to merge, or discard this patch.
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.