Passed
Push — main ( 25b418...7229b6 )
by Miaad
01:55
created
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.
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.