Passed
Push — main ( 1e0eff...d761d2 )
by Miaad
01:42
created
src/types/audio.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     public photoSize $thumb;
47 47
 
48 48
 
49
-    public function __construct(stdClass|null $object = null) {
49
+    public function __construct(stdClass | null $object = null) {
50 50
         if ($object != null) {
51 51
             parent::__construct($object, self::subs);
52 52
         }
Please login to merge, or discard this patch.
src/types/message.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -139,13 +139,13 @@  discard block
 block discarded – undo
139 139
     public string $text;
140 140
 
141 141
     /** Optional. If user message was a commend , this parameter will be the commend */
142
-    public string|null $commend;
142
+    public string | null $commend;
143 143
 
144 144
     /** Optional. If user message was a commend , this parameter will be the commend username(if exist) */
145
-    public string|null $commend_username;
145
+    public string | null $commend_username;
146 146
 
147 147
     /** Optional. If user message was a commend , this parameter will be the commend payload(if exist) */
148
-    public string|null $commend_payload;
148
+    public string | null $commend_payload;
149 149
 
150 150
     /**
151 151
      * Optional. For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
     public inlineKeyboardMarkup $reply_markup;
319 319
 
320 320
 
321
-    public function __construct(stdClass|null $object = null) {
321
+    public function __construct(stdClass | null $object = null) {
322 322
         if ($object != null) {
323 323
             parent::__construct($object, self::subs);
324 324
         }
Please login to merge, or discard this patch.
src/types/videoNote.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.
src/types/shippingQuery.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 shippingAddress $shipping_address;
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/replyKeyboardMarkup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public bool $selective;
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/proximityAlertTriggered.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     public int $distance;
23 23
 
24 24
 
25
-    public function __construct(stdClass|null $object = null) {
25
+    public function __construct(stdClass | null $object = null) {
26 26
         if ($object != null) {
27 27
             parent::__construct($object, self::subs);
28 28
         }
Please login to merge, or discard this patch.
src/types/botCommandScope.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 int $user_id;
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/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.
src/types/videoChatStarted.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /** Keep all of properties which has sub properties */
12 12
     private const subs = [];
13 13
 
14
-    public function __construct(stdClass|null $object = null) {
14
+    public function __construct(stdClass | null $object = null) {
15 15
         if ($object != null) {
16 16
             parent::__construct($object, self::subs);
17 17
         }
Please login to merge, or discard this patch.