Passed
Push — main ( 926a07...7834cc )
by Miaad
10:19
created
src/types/responseParameters.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,16 +17,16 @@
 block discarded – undo
17 17
      * But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for
18 18
      * storing this identifier.
19 19
      */
20
-    public null|int $migrate_to_chat_id = null;
20
+    public null | int $migrate_to_chat_id = null;
21 21
 
22 22
     /**
23 23
      * Optional. In case of exceeding flood control, the number of seconds left to wait before the request can be
24 24
      * repeated
25 25
      */
26
-    public null|int $retry_after = null;
26
+    public null | int $retry_after = null;
27 27
 
28 28
 
29
-    public function __construct(stdClass|null $object = null) {
29
+    public function __construct(stdClass | null $object = null) {
30 30
         if ($object != null) {
31 31
             parent::__construct($object, self::subs);
32 32
         }
Please login to merge, or discard this patch.
src/types/replyKeyboardRemove.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
      * message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with
30 30
      * poll options to users who haven't voted yet.
31 31
      */
32
-    public null|bool $selective = null;
32
+    public null | bool $selective = null;
33 33
 
34 34
 
35
-    public function __construct(stdClass|null $object = null) {
35
+    public function __construct(stdClass | null $object = null) {
36 36
         if ($object != null) {
37 37
             parent::__construct($object, self::subs);
38 38
         }
Please login to merge, or discard this patch.
src/types/chatPermissions.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -20,46 +20,46 @@
 block discarded – undo
20 20
     private const subs = [];
21 21
 
22 22
     /** Optional. True, if the user is allowed to send text messages, contacts, locations and venues */
23
-    public null|bool $can_send_messages = null;
23
+    public null | bool $can_send_messages = null;
24 24
 
25 25
     /**
26 26
      * Optional. True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes,
27 27
      * implies can_send_messages
28 28
      */
29
-    public null|bool $can_send_media_messages = null;
29
+    public null | bool $can_send_media_messages = null;
30 30
 
31 31
     /** Optional. True, if the user is allowed to send polls, implies can_send_messages */
32
-    public null|bool $can_send_polls = null;
32
+    public null | bool $can_send_polls = null;
33 33
 
34 34
     /**
35 35
      * Optional. True, if the user is allowed to send animations, games, stickers and use inline bots, implies
36 36
      * can_send_media_messages
37 37
      */
38
-    public null|bool $can_send_other_messages = null;
38
+    public null | bool $can_send_other_messages = null;
39 39
 
40 40
     /**
41 41
      * Optional. True, if the user is allowed to add web page previews to their messages, implies
42 42
      * can_send_media_messages
43 43
      */
44
-    public null|bool $can_add_web_page_previews = null;
44
+    public null | bool $can_add_web_page_previews = null;
45 45
 
46 46
     /**
47 47
      * Optional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public
48 48
      * supergroups
49 49
      */
50
-    public null|bool $can_change_info = null;
50
+    public null | bool $can_change_info = null;
51 51
 
52 52
     /** Optional. True, if the user is allowed to invite new users to the chat */
53
-    public null|bool $can_invite_users = null;
53
+    public null | bool $can_invite_users = null;
54 54
 
55 55
     /** Optional. True, if the user is allowed to pin messages. Ignored in public supergroups */
56
-    public null|bool $can_pin_messages = null;
56
+    public null | bool $can_pin_messages = null;
57 57
 
58 58
     /** Optional. True, if the user is allowed to create forum topics. If omitted defaults to the value of can_pin_messages */
59
-    public null|bool $can_manage_topics = null;
59
+    public null | bool $can_manage_topics = null;
60 60
 
61 61
 
62
-    public function __construct(stdClass|null $object = null) {
62
+    public function __construct(stdClass | null $object = null) {
63 63
         if ($object != null) {
64 64
             parent::__construct($object, self::subs);
65 65
         }
Please login to merge, or discard this patch.
src/types/inputMessageContent.php 1 patch
Spacing   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -51,95 +51,95 @@  discard block
 block discarded – undo
51 51
     private const subs = ['array' => ['entities' => 'BPT\types\messageEntity', 'prices' => 'BPT\types\labeledPrice']];
52 52
 
53 53
     /** `text` only. Text of the message to be sent, 1-4096 characters */
54
-    public null|string $message_text = null;
54
+    public null | string $message_text = null;
55 55
 
56 56
     /** `text` only. Optional. Mode for parsing entities in the message text. See formatting options for more details. */
57
-    public null|string $parse_mode = null;
57
+    public null | string $parse_mode = null;
58 58
 
59 59
     /**
60 60
      * `text` only. Optional. List of special entities that appear in message text, which can be specified instead of parse_mode
61 61
      * @var messageEntity[]
62 62
      */
63
-    public null|array $entities = null;
63
+    public null | array $entities = null;
64 64
 
65 65
     /** `text` only. Optional. Disables link previews for links in the sent message */
66
-    public null|bool $disable_web_page_preview = null;
66
+    public null | bool $disable_web_page_preview = null;
67 67
 
68 68
     /** `location` and `venue` only. Latitude in degrees */
69
-    public null|float $latitude = null;
69
+    public null | float $latitude = null;
70 70
 
71 71
     /** `location` and `venue` only. Longitude in degrees */
72
-    public null|float $longitude = null;
72
+    public null | float $longitude = null;
73 73
 
74 74
     /** `location` only. Optional. The radius of uncertainty for the location, measured in meters; 0-1500 */
75
-    public null|float $horizontal_accuracy = null;
75
+    public null | float $horizontal_accuracy = null;
76 76
 
77 77
     /** `location` only. Optional. Period in seconds for which the location can be updated, should be between 60 and 86400. */
78
-    public null|int $live_period = null;
78
+    public null | int $live_period = null;
79 79
 
80 80
     /** `location` only. Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified. */
81
-    public null|int $heading = null;
81
+    public null | int $heading = null;
82 82
 
83 83
     /**
84 84
      * `location` only. Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member,
85 85
      * in meters. Must be between 1 and 100000 if specified.
86 86
      */
87
-    public null|int $proximity_alert_radius = null;
87
+    public null | int $proximity_alert_radius = null;
88 88
 
89 89
     /** `venue` and `invoice` only. name of the venue or product */
90
-    public null|string $title = null;
90
+    public null | string $title = null;
91 91
 
92 92
     /** `venue` only. Address of the venue */
93
-    public null|string $address = null;
93
+    public null | string $address = null;
94 94
 
95 95
     /** `venue` only. Optional. Foursquare identifier of the venue, if known */
96
-    public null|string $foursquare_id = null;
96
+    public null | string $foursquare_id = null;
97 97
 
98 98
     /**
99 99
      * `venue` only. Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”,
100 100
      * “arts_entertainment/aquarium” or “food/icecream”.)
101 101
      */
102
-    public null|string $foursquare_type = null;
102
+    public null | string $foursquare_type = null;
103 103
 
104 104
     /** `venue` only. Optional. Google Places identifier of the venue */
105
-    public null|string $google_place_id = null;
105
+    public null | string $google_place_id = null;
106 106
 
107 107
     /** `venue` only. Optional. Google Places type of the venue. (See supported types.) */
108
-    public null|string $google_place_type = null;
108
+    public null | string $google_place_type = null;
109 109
 
110 110
     /** `contact` only. Contact's phone number */
111
-    public null|string $phone_number = null;
111
+    public null | string $phone_number = null;
112 112
 
113 113
     /** `contact` only. Contact's first name */
114
-    public null|string $first_name = null;
114
+    public null | string $first_name = null;
115 115
 
116 116
     /** `contact` only. Optional. Contact's last name */
117
-    public null|string $last_name = null;
117
+    public null | string $last_name = null;
118 118
 
119 119
     /** `contact` only. Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes */
120
-    public null|string $vcard = null;
120
+    public null | string $vcard = null;
121 121
 
122 122
     /** `invoice` only. Product description, 1-255 characters */
123
-    public null|string $description = null;
123
+    public null | string $description = null;
124 124
 
125 125
     /**
126 126
      * `invoice` only. Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal
127 127
      * processes.
128 128
      */
129
-    public null|string $payload = null;
129
+    public null | string $payload = null;
130 130
 
131 131
     /** `invoice` only. Payment provider token, obtained via BotFather */
132
-    public null|string $provider_token = null;
132
+    public null | string $provider_token = null;
133 133
 
134 134
     /** `invoice` only. Three-letter ISO 4217 currency code, see more on currencies */
135
-    public null|string $currency = null;
135
+    public null | string $currency = null;
136 136
 
137 137
     /**
138 138
      * `invoice` only. Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost,
139 139
      * delivery tax, bonus, etc.)
140 140
      * @var labeledPrice[]
141 141
      */
142
-    public null|array $prices = null;
142
+    public null | array $prices = null;
143 143
 
144 144
     /**
145 145
      * `invoice` only. Optional. The maximum accepted amount for tips in the smallest units of the currency (integer, not
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      * currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of
148 148
      * currencies). Defaults to 0
149 149
      */
150
-    public null|int $max_tip_amount = null;
150
+    public null | int $max_tip_amount = null;
151 151
 
152 152
     /**
153 153
      * `invoice` only. Optional. A JSON-serialized array of suggested amounts of tip in the smallest units of the currency (integer,
@@ -155,52 +155,52 @@  discard block
 block discarded – undo
155 155
      * positive, passed in a strictly increased order and must not exceed max_tip_amount.
156 156
      * @var int[]
157 157
      */
158
-    public null|array $suggested_tip_amounts = null;
158
+    public null | array $suggested_tip_amounts = null;
159 159
 
160 160
     /**
161 161
      * `invoice` only. Optional. A JSON-serialized object for data about the invoice, which will be shared with the payment provider.
162 162
      * A detailed description of the required fields should be provided by the payment provider.
163 163
      */
164
-    public null|string $provider_data = null;
164
+    public null | string $provider_data = null;
165 165
 
166 166
     /**
167 167
      * `invoice` only. Optional. URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a
168 168
      * service.
169 169
      */
170
-    public null|string $photo_url = null;
170
+    public null | string $photo_url = null;
171 171
 
172 172
     /** `invoice` only. Optional. Photo size in bytes */
173
-    public null|int $photo_size = null;
173
+    public null | int $photo_size = null;
174 174
 
175 175
     /** `invoice` only. Optional. Photo width */
176
-    public null|int $photo_width = null;
176
+    public null | int $photo_width = null;
177 177
 
178 178
     /** `invoice` only. Optional. Photo height */
179
-    public null|int $photo_height = null;
179
+    public null | int $photo_height = null;
180 180
 
181 181
     /** `invoice` only. Optional. Pass True, if you require the user's full name to complete the order */
182
-    public null|bool $need_name = null;
182
+    public null | bool $need_name = null;
183 183
 
184 184
     /** `invoice` only. Optional. Pass True, if you require the user's phone number to complete the order */
185
-    public null|bool $need_phone_number = null;
185
+    public null | bool $need_phone_number = null;
186 186
 
187 187
     /** `invoice` only. Optional. Pass True, if you require the user's email address to complete the order */
188
-    public null|bool $need_email = null;
188
+    public null | bool $need_email = null;
189 189
 
190 190
     /** `invoice` only. Optional. Pass True, if you require the user's shipping address to complete the order */
191
-    public null|bool $need_shipping_address = null;
191
+    public null | bool $need_shipping_address = null;
192 192
 
193 193
     /** `invoice` only. Optional. Pass True, if the user's phone number should be sent to provider */
194
-    public null|bool $send_phone_number_to_provider = null;
194
+    public null | bool $send_phone_number_to_provider = null;
195 195
 
196 196
     /** `invoice` only. Optional. Pass True, if the user's email address should be sent to provider */
197
-    public null|bool $send_email_to_provider = null;
197
+    public null | bool $send_email_to_provider = null;
198 198
 
199 199
     /** `invoice` only. Optional. Pass True, if the final price depends on the shipping method */
200
-    public null|bool $is_flexible = null;
200
+    public null | bool $is_flexible = null;
201 201
 
202 202
 
203
-    public function __construct(stdClass|null $object = null) {
203
+    public function __construct(stdClass | null $object = null) {
204 204
         if ($object != null) {
205 205
             parent::__construct($object, self::subs);
206 206
         }
Please login to merge, or discard this patch.
src/types/sticker.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -38,34 +38,34 @@  discard block
 block discarded – undo
38 38
     public int $height;
39 39
 
40 40
     /** True, if the sticker is animated */
41
-    public null|bool $is_animated = null;
41
+    public null | bool $is_animated = null;
42 42
 
43 43
     /** True, if the sticker is a video sticker */
44
-    public null|bool $is_video = null;
44
+    public null | bool $is_video = null;
45 45
 
46 46
     /** Optional. Sticker thumbnail in the .WEBP or .JPG format */
47
-    public null|photoSize $thumb = null;
47
+    public null | photoSize $thumb = null;
48 48
 
49 49
     /** Optional. Emoji associated with the sticker */
50
-    public null|string $emoji = null;
50
+    public null | string $emoji = null;
51 51
 
52 52
     /** Optional. Name of the sticker set to which the sticker belongs */
53
-    public null|string $set_name = null;
53
+    public null | string $set_name = null;
54 54
 
55 55
     /** Optional. Premium animation for the sticker, if the sticker is premium */
56
-    public null|file $premium_animation = null;
56
+    public null | file $premium_animation = null;
57 57
 
58 58
     /** Optional. For mask stickers, the position where the mask should be placed */
59
-    public null|maskPosition $mask_position = null;
59
+    public null | maskPosition $mask_position = null;
60 60
 
61 61
     /** Optional. For custom emoji stickers, unique identifier of the custom emoji */
62
-    public null|string $custom_emoji_id = null;
62
+    public null | string $custom_emoji_id = null;
63 63
 
64 64
     /** Optional. File size in bytes */
65
-    public null|int $file_size = null;
65
+    public null | int $file_size = null;
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
         }
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * @return bool|string string will be returned when destination doesn't set
88 88
      */
89
-    public function download(string|null $destination = null): bool|string {
90
-        return telegram::downloadFile($destination ?? 'unknown.png',$this->file_id);
89
+    public function download(string | null $destination = null): bool | string {
90
+        return telegram::downloadFile($destination ?? 'unknown.png', $this->file_id);
91 91
     }
92 92
 }
Please login to merge, or discard this patch.
src/types/forceReply.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,17 +20,17 @@
 block discarded – undo
20 20
     public bool $force_reply;
21 21
 
22 22
     /** Optional. The placeholder to be shown in the input field when the reply is active; 1-64 characters */
23
-    public null|string $input_field_placeholder = null;
23
+    public null | string $input_field_placeholder = null;
24 24
 
25 25
     /**
26 26
      * Optional. Use this parameter if you want to force reply from specific users only. Targets: 1) users that are
27 27
      * mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id),
28 28
      * sender of the original message.
29 29
      */
30
-    public null|bool $selective = null;
30
+    public null | bool $selective = null;
31 31
 
32 32
 
33
-    public function __construct(stdClass|null $object = null) {
33
+    public function __construct(stdClass | null $object = null) {
34 34
         if ($object != null) {
35 35
             parent::__construct($object, self::subs);
36 36
         }
Please login to merge, or discard this patch.
src/types/sentWebAppMessage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@
 block discarded – undo
15 15
      * Optional. Identifier of the sent inline message. Available only if there is an inline keyboard attached to the
16 16
      * message.
17 17
      */
18
-    public null|string $inline_message_id = null;
18
+    public null | string $inline_message_id = null;
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.
src/types/replyKeyboardMarkup.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,17 +28,17 @@  discard block
 block discarded – undo
28 28
      * if there are just two rows of buttons). Defaults to false, in which case the custom keyboard is always of the
29 29
      * same height as the app's standard keyboard.
30 30
      */
31
-    public null|bool $resize_keyboard = null;
31
+    public null | bool $resize_keyboard = null;
32 32
 
33 33
     /**
34 34
      * Optional. Requests clients to hide the keyboard as soon as it's been used. The keyboard will still be
35 35
      * available, but clients will automatically display the usual letter-keyboard in the chat - the user can press a
36 36
      * special button in the input field to see the custom keyboard again. Defaults to false.
37 37
      */
38
-    public null|bool $one_time_keyboard = null;
38
+    public null | bool $one_time_keyboard = null;
39 39
 
40 40
     /** Optional. The placeholder to be shown in the input field when the keyboard is active; 1-64 characters */
41
-    public null|string $input_field_placeholder = null;
41
+    public null | string $input_field_placeholder = null;
42 42
 
43 43
     /**
44 44
      * Optional. Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that
@@ -46,10 +46,10 @@  discard block
 block discarded – undo
46 46
      * sender of the original message.Example: A user requests to change the bot's language, bot replies to the
47 47
      * request with a keyboard to select the new language. Other users in the group don't see the keyboard.
48 48
      */
49
-    public null|bool $selective = null;
49
+    public null | bool $selective = null;
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.
src/types/chat.php 1 patch
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -27,85 +27,85 @@  discard block
 block discarded – undo
27 27
     public string $type;
28 28
 
29 29
     /** Optional. Title, for supergroups, channels and group chats */
30
-    public null|string $title = null;
30
+    public null | string $title = null;
31 31
 
32 32
     /** Optional. Username, for private chats, supergroups and channels if available */
33
-    public null|string $username = null;
33
+    public null | string $username = null;
34 34
 
35 35
     /** Optional. First name of the other party in a private chat */
36
-    public null|string $first_name = null;
36
+    public null | string $first_name = null;
37 37
 
38 38
     /** Optional. Last name of the other party in a private chat */
39
-    public null|string $last_name = null;
39
+    public null | string $last_name = null;
40 40
 
41 41
     /** Optional. True, if the supergroup chat is a forum (has topics enabled) */
42
-    public null|bool $is_forum = null;
42
+    public null | bool $is_forum = null;
43 43
 
44 44
     /** Optional. Chat photo. Returned only in getChat. */
45
-    public null|chatPhoto $photo = null;
45
+    public null | chatPhoto $photo = null;
46 46
 
47 47
     /** Optional. If non-empty, the list of all active chat usernames; for private chats, supergroups and channels. Returned only in getChat. */
48
-    public null|array $active_usernames = null;
48
+    public null | array $active_usernames = null;
49 49
 
50 50
     /** Optional. Custom emoji identifier of emoji status of the other party in a private chat. Returned only in getChat. */
51
-    public null|string $emoji_status_custom_emoji_id = null;
51
+    public null | string $emoji_status_custom_emoji_id = null;
52 52
 
53 53
     /** Optional. Bio of the other party in a private chat. Returned only in getChat. */
54
-    public null|string $bio = null;
54
+    public null | string $bio = null;
55 55
 
56 56
     /**
57 57
      * Optional. True, if privacy settings of the other party in the private chat allows to use
58 58
      * tg://user?id=<user_id> links only in chats with the user. Returned only in getChat.
59 59
      */
60
-    public null|bool $has_private_forwards = null;
60
+    public null | bool $has_private_forwards = null;
61 61
 
62 62
     /**
63 63
      * Optional. True, if the privacy settings of the other party restrict sending voice and video note messages in
64 64
      * the private chat. Returned only in getChat.
65 65
      */
66
-    public null|bool $has_restricted_voice_and_video_messages = null;
66
+    public null | bool $has_restricted_voice_and_video_messages = null;
67 67
 
68 68
     /** Optional. True, if users need to join the supergroup before they can send messages. Returned only in getChat. */
69
-    public null|bool $join_to_send_messages = null;
69
+    public null | bool $join_to_send_messages = null;
70 70
 
71 71
     /**
72 72
      * Optional. True, if all users directly joining the supergroup need to be approved by supergroup administrators.
73 73
      * Returned only in getChat.
74 74
      */
75
-    public null|bool $join_by_request = null;
75
+    public null | bool $join_by_request = null;
76 76
 
77 77
     /** Optional. Description, for groups, supergroups and channel chats. Returned only in getChat. */
78
-    public null|string $description = null;
78
+    public null | string $description = null;
79 79
 
80 80
     /** Optional. Primary invite link, for groups, supergroups and channel chats. Returned only in getChat. */
81
-    public null|string $invite_link = null;
81
+    public null | string $invite_link = null;
82 82
 
83 83
     /** Optional. The most recent pinned message (by sending date). Returned only in getChat. */
84
-    public null|message $pinned_message = null;
84
+    public null | message $pinned_message = null;
85 85
 
86 86
     /** Optional. Default chat member permissions, for groups and supergroups. Returned only in getChat. */
87
-    public null|chatPermissions $permissions = null;
87
+    public null | chatPermissions $permissions = null;
88 88
 
89 89
     /**
90 90
      * Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged
91 91
      * user; in seconds. Returned only in getChat.
92 92
      */
93
-    public null|int $slow_mode_delay = null;
93
+    public null | int $slow_mode_delay = null;
94 94
 
95 95
     /**
96 96
      * Optional. The time after which all messages sent to the chat will be automatically deleted; in seconds.
97 97
      * Returned only in getChat.
98 98
      */
99
-    public null|int $message_auto_delete_time = null;
99
+    public null | int $message_auto_delete_time = null;
100 100
 
101 101
     /** Optional. True, if messages from the chat can't be forwarded to other chats. Returned only in getChat. */
102
-    public null|bool $has_protected_content = null;
102
+    public null | bool $has_protected_content = null;
103 103
 
104 104
     /** Optional. For supergroups, name of group sticker set. Returned only in getChat. */
105
-    public null|string $sticker_set_name = null;
105
+    public null | string $sticker_set_name = null;
106 106
 
107 107
     /** Optional. True, if the bot can change the group sticker set. Returned only in getChat. */
108
-    public null|bool $can_set_sticker_set = null;
108
+    public null | bool $can_set_sticker_set = null;
109 109
 
110 110
     /**
111 111
      * Optional. Unique identifier for the linked chat, i.e. the discussion group identifier for a channel and vice
@@ -113,13 +113,13 @@  discard block
 block discarded – undo
113 113
      * languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed
114 114
      * 64 bit integer or double-precision float type are safe for storing this identifier. Returned only in getChat.
115 115
      */
116
-    public null|int $linked_chat_id = null;
116
+    public null | int $linked_chat_id = null;
117 117
 
118 118
     /** Optional. For supergroups, the location to which the supergroup is connected. Returned only in getChat. */
119
-    public null|chatLocation $location = null;
119
+    public null | chatLocation $location = null;
120 120
 
121 121
 
122
-    public function __construct(stdClass|null $object = null) {
122
+    public function __construct(stdClass | null $object = null) {
123 123
         if ($object != null) {
124 124
             parent::__construct($object, self::subs);
125 125
         }
Please login to merge, or discard this patch.