Passed
Push — main ( 8c6c55...1af2d8 )
by Miaad
12:23 queued 14s
created
src/types/userProfilePhotos.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public array $photos = [];
22 22
 
23 23
 
24
-    public function __construct(stdClass|null $object = null) {
24
+    public function __construct(stdClass | null $object = null) {
25 25
         if ($object != null) {
26 26
             parent::__construct($object, self::subs);
27 27
         }
Please login to merge, or discard this patch.
src/types/orderInfo.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,19 +12,19 @@
 block discarded – undo
12 12
     private const subs = ['shipping_address' => 'BPT\types\shippingAddress'];
13 13
 
14 14
     /** Optional. User name */
15
-    public null|string $name = null;
15
+    public null | string $name = null;
16 16
 
17 17
     /** Optional. User's phone number */
18
-    public null|string $phone_number = null;
18
+    public null | string $phone_number = null;
19 19
 
20 20
     /** Optional. User email */
21
-    public null|string $email = null;
21
+    public null | string $email = null;
22 22
 
23 23
     /** Optional. User shipping address */
24
-    public null|shippingAddress $shipping_address = null;
24
+    public null | shippingAddress $shipping_address = null;
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.
src/types/venue.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,22 +21,22 @@
 block discarded – undo
21 21
     public string $address;
22 22
 
23 23
     /** Optional. Foursquare identifier of the venue */
24
-    public null|string $foursquare_id = null;
24
+    public null | string $foursquare_id = null;
25 25
 
26 26
     /**
27 27
      * Optional. Foursquare type of the venue. (For example, “arts_entertainment/default”,
28 28
      * “arts_entertainment/aquarium” or “food/icecream”.)
29 29
      */
30
-    public null|string $foursquare_type = null;
30
+    public null | string $foursquare_type = null;
31 31
 
32 32
     /** Optional. Google Places identifier of the venue */
33
-    public null|string $google_place_id = null;
33
+    public null | string $google_place_id = null;
34 34
 
35 35
     /** Optional. Google Places type of the venue. (See supported types.) */
36
-    public null|string $google_place_type = null;
36
+    public null | string $google_place_type = null;
37 37
 
38 38
 
39
-    public function __construct(stdClass|null $object = null) {
39
+    public function __construct(stdClass | null $object = null) {
40 40
         if ($object != null) {
41 41
             parent::__construct($object, self::subs);
42 42
         }
Please login to merge, or discard this patch.
src/types/successfulPayment.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,10 +25,10 @@  discard block
 block discarded – undo
25 25
     public string $invoice_payload;
26 26
 
27 27
     /** Optional. Identifier of the shipping option chosen by the user */
28
-    public null|string $shipping_option_id = null;
28
+    public null | string $shipping_option_id = null;
29 29
 
30 30
     /** Optional. Order information provided by the user */
31
-    public null|orderInfo $order_info = null;
31
+    public null | orderInfo $order_info = null;
32 32
 
33 33
     /** Telegram payment identifier */
34 34
     public string $telegram_payment_charge_id;
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     public string $provider_payment_charge_id;
38 38
 
39 39
 
40
-    public function __construct(stdClass|null $object = null) {
40
+    public function __construct(stdClass | null $object = null) {
41 41
         if ($object != null) {
42 42
             parent::__construct($object, self::subs);
43 43
         }
Please login to merge, or discard this patch.
src/types/chosenInlineResult.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,19 +18,19 @@
 block discarded – undo
18 18
     public user $from;
19 19
 
20 20
     /** Optional. Sender location, only for bots that require user location */
21
-    public null|location $location = null;
21
+    public null | location $location = null;
22 22
 
23 23
     /**
24 24
      * Optional. Identifier of the sent inline message. Available only if there is an inline keyboard attached to the
25 25
      * message. Will be also received in callback queries and can be used to edit the message.
26 26
      */
27
-    public null|string $inline_message_id = null;
27
+    public null | string $inline_message_id = null;
28 28
 
29 29
     /** The query that was used to obtain the result */
30 30
     public string $query;
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/encryptedPassportElement.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -28,13 +28,13 @@  discard block
 block discarded – undo
28 28
      * “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport” and
29 29
      * “address” types. Can be decrypted and verified using the accompanying EncryptedCredentials.
30 30
      */
31
-    public null|string $data = null;
31
+    public null | string $data = null;
32 32
 
33 33
     /** Optional. User's verified phone number, available only for “phone_number” type */
34
-    public null|string $phone_number = null;
34
+    public null | string $phone_number = null;
35 35
 
36 36
     /** Optional. User's verified email address, available only for “email” type */
37
-    public null|string $email = null;
37
+    public null | string $email = null;
38 38
 
39 39
     /**
40 40
      * Optional. Array of encrypted files with documents provided by the user, available for “utility_bill”,
@@ -42,28 +42,28 @@  discard block
 block discarded – undo
42 42
      * types. Files can be decrypted and verified using the accompanying EncryptedCredentials.
43 43
      * @var passportFile[]
44 44
      */
45
-    public null|array $files = null;
45
+    public null | array $files = null;
46 46
 
47 47
     /**
48 48
      * Optional. Encrypted file with the front side of the document, provided by the user. Available for
49 49
      * “passport”, “driver_license”, “identity_card” and “internal_passport”. The file can be
50 50
      * decrypted and verified using the accompanying EncryptedCredentials.
51 51
      */
52
-    public null|passportFile $front_side = null;
52
+    public null | passportFile $front_side = null;
53 53
 
54 54
     /**
55 55
      * Optional. Encrypted file with the reverse side of the document, provided by the user. Available for
56 56
      * “driver_license” and “identity_card”. The file can be decrypted and verified using the accompanying
57 57
      * EncryptedCredentials.
58 58
      */
59
-    public null|passportFile $reverse_side = null;
59
+    public null | passportFile $reverse_side = null;
60 60
 
61 61
     /**
62 62
      * Optional. Encrypted file with the selfie of the user holding a document, provided by the user; available for
63 63
      * “passport”, “driver_license”, “identity_card” and “internal_passport”. The file can be
64 64
      * decrypted and verified using the accompanying EncryptedCredentials.
65 65
      */
66
-    public null|passportFile $selfie = null;
66
+    public null | passportFile $selfie = null;
67 67
 
68 68
     /**
69 69
      * Optional. Array of encrypted files with translated versions of documents provided by the user. Available if
@@ -73,13 +73,13 @@  discard block
 block discarded – undo
73 73
      * EncryptedCredentials.
74 74
      * @var passportFile[]
75 75
      */
76
-    public null|array $translation = null;
76
+    public null | array $translation = null;
77 77
 
78 78
     /** Base64-encoded element hash for using in PassportElementErrorUnspecified */
79 79
     public string $hash;
80 80
 
81 81
 
82
-    public function __construct(stdClass|null $object = null) {
82
+    public function __construct(stdClass | null $object = null) {
83 83
         if ($object != null) {
84 84
             parent::__construct($object, self::subs);
85 85
         }
Please login to merge, or discard this patch.
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/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/poll.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -29,43 +29,43 @@
 block discarded – undo
29 29
     public int $total_voter_count;
30 30
 
31 31
     /** True, if the poll is closed */
32
-    public null|bool $is_closed = null;
32
+    public null | bool $is_closed = null;
33 33
 
34 34
     /** True, if the poll is anonymous */
35
-    public null|bool $is_anonymous = null;
35
+    public null | bool $is_anonymous = null;
36 36
 
37 37
     /** Poll type, currently can be “regular” or “quiz” */
38 38
     public string $type;
39 39
 
40 40
     /** True, if the poll allows multiple answers */
41
-    public null|bool $allows_multiple_answers = null;
41
+    public null | bool $allows_multiple_answers = null;
42 42
 
43 43
     /**
44 44
      * Optional. 0-based identifier of the correct answer option. Available only for polls in the quiz mode, which
45 45
      * are closed, or was sent (not forwarded) by the bot or to the private chat with the bot.
46 46
      */
47
-    public null|int $correct_option_id = null;
47
+    public null | int $correct_option_id = null;
48 48
 
49 49
     /**
50 50
      * Optional. Text that is shown when a user chooses an incorrect answer or taps on the lamp icon in a quiz-style
51 51
      * poll, 0-200 characters
52 52
      */
53
-    public null|string $explanation = null;
53
+    public null | string $explanation = null;
54 54
 
55 55
     /**
56 56
      * Optional. Special entities like usernames, URLs, bot commands, etc. that appear in the explanation
57 57
      * @var messageEntity[]
58 58
      */
59
-    public null|array $explanation_entities = null;
59
+    public null | array $explanation_entities = null;
60 60
 
61 61
     /** Optional. Amount of time in seconds the poll will be active after creation */
62
-    public null|int $open_period = null;
62
+    public null | int $open_period = null;
63 63
 
64 64
     /** Optional. Point in time (Unix timestamp) when the poll will be automatically closed */
65
-    public null|int $close_date = null;
65
+    public null | int $close_date = 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
         }
Please login to merge, or discard this patch.