Passed
Push — main ( e0778d...2e4cb3 )
by Miaad
10:42
created
src/types/maybeInaccessibleMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     public int $date;
17 17
 
18 18
 
19
-    public function __construct(stdClass|null $object = null) {
19
+    public function __construct(stdClass | null $object = null) {
20 20
         if ($object != null) {
21 21
             parent::__construct($object);
22 22
         }
Please login to merge, or discard this patch.
src/types/messageReactionCountUpdated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public array $reactions;
28 28
 
29 29
 
30
-    public function __construct(stdClass|null $object = null) {
30
+    public function __construct(stdClass | null $object = null) {
31 31
         if ($object != null) {
32 32
             parent::__construct($object, self::subs);
33 33
         }
Please login to merge, or discard this patch.
src/types/chatBoostUpdated.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 chatBoost $boost;
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/userChatBoosts.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 array $boosts;
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/chatBoost.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public chatBoostSource $source;
28 28
 
29 29
 
30
-    public function __construct(stdClass|null $object = null) {
30
+    public function __construct(stdClass | null $object = null) {
31 31
         if ($object != null) {
32 32
             parent::__construct($object, self::subs);
33 33
         }
Please login to merge, or discard this patch.
src/types/externalReplyInfo.php 1 patch
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -38,79 +38,79 @@
 block discarded – undo
38 38
     public messageOrigin $origin;
39 39
 
40 40
     /** Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel. */
41
-    public null|chat $chat = null;
41
+    public null | chat $chat = null;
42 42
 
43 43
     /**
44 44
      * Optional. Unique message identifier inside the original chat. Available only if the original chat is a
45 45
      * supergroup or a channel.
46 46
      */
47
-    public null|int $message_id = null;
47
+    public null | int $message_id = null;
48 48
 
49 49
     /** Optional. Options used for link preview generation for the original message, if it is a text message */
50
-    public null|linkPreviewOptions $link_preview_options = null;
50
+    public null | linkPreviewOptions $link_preview_options = null;
51 51
 
52 52
     /** Optional. Message is an animation, information about the animation */
53
-    public null|animation $animation = null;
53
+    public null | animation $animation = null;
54 54
 
55 55
     /** Optional. Message is an audio file, information about the file */
56
-    public null|audio $audio = null;
56
+    public null | audio $audio = null;
57 57
 
58 58
     /** Optional. Message is a general file, information about the file */
59
-    public null|document $document = null;
59
+    public null | document $document = null;
60 60
 
61 61
     /**
62 62
      * Optional. Message is a photo, available sizes of the photo
63 63
      * @var photoSize[]
64 64
      */
65
-    public null|array $photo = null;
65
+    public null | array $photo = null;
66 66
 
67 67
     /** Optional. Message is a sticker, information about the sticker */
68
-    public null|sticker $sticker = null;
68
+    public null | sticker $sticker = null;
69 69
 
70 70
     /** Optional. Message is a forwarded story */
71
-    public null|story $story = null;
71
+    public null | story $story = null;
72 72
 
73 73
     /** Optional. Message is a video, information about the video */
74
-    public null|video $video = null;
74
+    public null | video $video = null;
75 75
 
76 76
     /** Optional. Message is a video note, information about the video message */
77
-    public null|videoNote $video_note = null;
77
+    public null | videoNote $video_note = null;
78 78
 
79 79
     /** Optional. Message is a voice message, information about the file */
80
-    public null|voice $voice = null;
80
+    public null | voice $voice = null;
81 81
 
82 82
     /** Optional. True, if the message media is covered by a spoiler animation */
83
-    public null|bool $has_media_spoiler = null;
83
+    public null | bool $has_media_spoiler = null;
84 84
 
85 85
     /** Optional. Message is a shared contact, information about the contact */
86
-    public null|contact $contact = null;
86
+    public null | contact $contact = null;
87 87
 
88 88
     /** Optional. Message is a dice with random value */
89
-    public null|dice $dice = null;
89
+    public null | dice $dice = null;
90 90
 
91 91
     /** Optional. Message is a game, information about the game. More about games » */
92
-    public null|game $game = null;
92
+    public null | game $game = null;
93 93
 
94 94
     /** Optional. Message is a scheduled giveaway, information about the giveaway */
95
-    public null|giveaway $giveaway = null;
95
+    public null | giveaway $giveaway = null;
96 96
 
97 97
     /** Optional. A giveaway with public winners was completed */
98
-    public null|giveawayWinners $giveaway_winners = null;
98
+    public null | giveawayWinners $giveaway_winners = null;
99 99
 
100 100
     /** Optional. Message is an invoice for a payment, information about the invoice. More about payments » */
101
-    public null|invoice $invoice = null;
101
+    public null | invoice $invoice = null;
102 102
 
103 103
     /** Optional. Message is a shared location, information about the location */
104
-    public null|location $location = null;
104
+    public null | location $location = null;
105 105
 
106 106
     /** Optional. Message is a native poll, information about the poll */
107
-    public null|poll $poll = null;
107
+    public null | poll $poll = null;
108 108
 
109 109
     /** Optional. Message is a venue, information about the venue */
110
-    public null|venue $venue = null;
110
+    public null | venue $venue = null;
111 111
 
112 112
 
113
-    public function __construct(stdClass|null $object = null) {
113
+    public function __construct(stdClass | null $object = null) {
114 114
         if ($object != null) {
115 115
             parent::__construct($object, self::subs);
116 116
         }
Please login to merge, or discard this patch.
src/types/reactionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public string $custom_emoji;
29 29
 
30 30
 
31
-    public function __construct(stdClass|null $object = null) {
31
+    public function __construct(stdClass | null $object = null) {
32 32
         if ($object != null) {
33 33
             parent::__construct($object, self::subs);
34 34
         }
Please login to merge, or discard this patch.
src/types/reactionCount.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 int $total_count;
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/messageOrigin.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -18,28 +18,28 @@
 block discarded – undo
18 18
     public int $date;
19 19
 
20 20
     /** `user` only. User that sent the message originally */
21
-    public null|user $sender_user = null;
21
+    public null | user $sender_user = null;
22 22
 
23 23
     /** `hidden_user` only. Name of the user that sent the message originally */
24
-    public null|string $sender_user_name = null;
24
+    public null | string $sender_user_name = null;
25 25
 
26 26
     /** `chat` only. Chat that sent the message originally */
27
-    public null|chat $sender_chat = null;
27
+    public null | chat $sender_chat = null;
28 28
 
29 29
     /**
30 30
      * `chat` and `channel` only. Signature of the original post author, For messages originally sent by an anonymous
31 31
      * chat administrator, original message author signature
32 32
      */
33
-    public null|string $author_signature = null;
33
+    public null | string $author_signature = null;
34 34
 
35 35
     /** `channel` only. Channel chat to which the message was originally sent */
36
-    public null|chat $chat = null;
36
+    public null | chat $chat = null;
37 37
 
38 38
     /** `channel` only. Unique message identifier inside the chat */
39
-    public null|int $message_id = null;
39
+    public null | int $message_id = null;
40 40
 
41 41
 
42
-    public function __construct(stdClass|null $object = null) {
42
+    public function __construct(stdClass | null $object = null) {
43 43
         if ($object != null) {
44 44
             parent::__construct($object, self::subs);
45 45
         }
Please login to merge, or discard this patch.