Passed
Push — main ( 23165f...4af278 )
by Miaad
01:25
created
types/chatMember.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
  * are supported:
10 10
  */
11 11
 class chatMember extends types {
12
-	/** Keep all of properties which has sub properties */
13
-	private const subs = [];
12
+    /** Keep all of properties which has sub properties */
13
+    private const subs = [];
14 14
 
15
-	public function __construct(stdClass $update) {
16
-		parent::__construct($update, self::subs);
17
-	}
15
+    public function __construct(stdClass $update) {
16
+        parent::__construct($update, self::subs);
17
+    }
18 18
 }
Please login to merge, or discard this patch.
types/inlineQueryResultCachedAudio.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -10,38 +10,38 @@
 block discarded – undo
10 10
  * content instead of the audio.
11 11
  */
12 12
 class inlineQueryResultCachedAudio extends types {
13
-	/** Keep all of properties which has sub properties */
14
-	private const subs = [
15
-		'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
16
-		'input_message_content' => 'BPT\types\inputMessageContent',
17
-	];
13
+    /** Keep all of properties which has sub properties */
14
+    private const subs = [
15
+        'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
16
+        'input_message_content' => 'BPT\types\inputMessageContent',
17
+    ];
18 18
 
19
-	/** Type of the result, must be audio */
20
-	public string $type;
19
+    /** Type of the result, must be audio */
20
+    public string $type;
21 21
 
22
-	/** Unique identifier for this result, 1-64 bytes */
23
-	public string $id;
22
+    /** Unique identifier for this result, 1-64 bytes */
23
+    public string $id;
24 24
 
25
-	/** A valid file identifier for the audio file */
26
-	public string $audio_file_id;
25
+    /** A valid file identifier for the audio file */
26
+    public string $audio_file_id;
27 27
 
28
-	/** Optional. Caption, 0-1024 characters after entities parsing */
29
-	public string $caption;
28
+    /** Optional. Caption, 0-1024 characters after entities parsing */
29
+    public string $caption;
30 30
 
31
-	/** Optional. Mode for parsing entities in the audio caption. See formatting options for more details. */
32
-	public string $parse_mode;
31
+    /** Optional. Mode for parsing entities in the audio caption. See formatting options for more details. */
32
+    public string $parse_mode;
33 33
 
34
-	/** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */
35
-	public array $caption_entities;
34
+    /** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */
35
+    public array $caption_entities;
36 36
 
37
-	/** Optional. Inline keyboard attached to the message */
38
-	public inlineKeyboardMarkup $reply_markup;
37
+    /** Optional. Inline keyboard attached to the message */
38
+    public inlineKeyboardMarkup $reply_markup;
39 39
 
40
-	/** Optional. Content of the message to be sent instead of the audio */
41
-	public inputMessageContent $input_message_content;
40
+    /** Optional. Content of the message to be sent instead of the audio */
41
+    public inputMessageContent $input_message_content;
42 42
 
43 43
 
44
-	public function __construct(stdClass $update) {
45
-		parent::__construct($update, self::subs);
46
-	}
44
+    public function __construct(stdClass $update) {
45
+        parent::__construct($update, self::subs);
46
+    }
47 47
 }
Please login to merge, or discard this patch.
types/forceReply.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -10,24 +10,24 @@
 block discarded – undo
10 10
  * create user-friendly step-by-step interfaces without having to sacrifice privacy mode.
11 11
  */
12 12
 class forceReply extends types {
13
-	/** Keep all of properties which has sub properties */
14
-	private const subs = [];
13
+    /** Keep all of properties which has sub properties */
14
+    private const subs = [];
15 15
 
16
-	/** Shows reply interface to the user, as if they manually selected the bot's message and tapped 'Reply' */
17
-	public bool $force_reply;
16
+    /** Shows reply interface to the user, as if they manually selected the bot's message and tapped 'Reply' */
17
+    public bool $force_reply;
18 18
 
19
-	/** Optional. The placeholder to be shown in the input field when the reply is active; 1-64 characters */
20
-	public string $input_field_placeholder;
19
+    /** Optional. The placeholder to be shown in the input field when the reply is active; 1-64 characters */
20
+    public string $input_field_placeholder;
21 21
 
22
-	/**
23
-	 * Optional. Use this parameter if you want to force reply from specific users only. Targets: 1) users that are
24
-	 * mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id),
25
-	 * sender of the original message.
26
-	 */
27
-	public bool $selective;
22
+    /**
23
+     * Optional. Use this parameter if you want to force reply from specific users only. Targets: 1) users that are
24
+     * mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id),
25
+     * sender of the original message.
26
+     */
27
+    public bool $selective;
28 28
 
29 29
 
30
-	public function __construct(stdClass $update) {
31
-		parent::__construct($update, self::subs);
32
-	}
30
+    public function __construct(stdClass $update) {
31
+        parent::__construct($update, self::subs);
32
+    }
33 33
 }
Please login to merge, or discard this patch.
types/dice.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -8,20 +8,20 @@
 block discarded – undo
8 8
  * This object represents an animated emoji that displays a random value.
9 9
  */
10 10
 class dice extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = [];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = [];
13 13
 
14
-	/** Emoji on which the dice throw animation is based */
15
-	public string $emoji;
14
+    /** Emoji on which the dice throw animation is based */
15
+    public string $emoji;
16 16
 
17
-	/**
18
-	 * Value of the dice, 1-6 for “
Please login to merge, or discard this patch.
types/inlineQueryResultVenue.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -9,62 +9,62 @@
 block discarded – undo
9 9
  * input_message_content to send a message with the specified content instead of the venue.
10 10
  */
11 11
 class inlineQueryResultVenue extends types {
12
-	/** Keep all of properties which has sub properties */
13
-	private const subs = [
14
-		'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
15
-		'input_message_content' => 'BPT\types\inputMessageContent',
16
-	];
12
+    /** Keep all of properties which has sub properties */
13
+    private const subs = [
14
+        'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
15
+        'input_message_content' => 'BPT\types\inputMessageContent',
16
+    ];
17 17
 
18
-	/** Type of the result, must be venue */
19
-	public string $type;
18
+    /** Type of the result, must be venue */
19
+    public string $type;
20 20
 
21
-	/** Unique identifier for this result, 1-64 Bytes */
22
-	public string $id;
21
+    /** Unique identifier for this result, 1-64 Bytes */
22
+    public string $id;
23 23
 
24
-	/** Latitude of the venue location in degrees */
25
-	public float $latitude;
24
+    /** Latitude of the venue location in degrees */
25
+    public float $latitude;
26 26
 
27
-	/** Longitude of the venue location in degrees */
28
-	public float $longitude;
27
+    /** Longitude of the venue location in degrees */
28
+    public float $longitude;
29 29
 
30
-	/** Title of the venue */
31
-	public string $title;
30
+    /** Title of the venue */
31
+    public string $title;
32 32
 
33
-	/** Address of the venue */
34
-	public string $address;
33
+    /** Address of the venue */
34
+    public string $address;
35 35
 
36
-	/** Optional. Foursquare identifier of the venue if known */
37
-	public string $foursquare_id;
36
+    /** Optional. Foursquare identifier of the venue if known */
37
+    public string $foursquare_id;
38 38
 
39
-	/**
40
-	 * Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”,
41
-	 * “arts_entertainment/aquarium” or “food/icecream”.)
42
-	 */
43
-	public string $foursquare_type;
39
+    /**
40
+     * Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”,
41
+     * “arts_entertainment/aquarium” or “food/icecream”.)
42
+     */
43
+    public string $foursquare_type;
44 44
 
45
-	/** Optional. Google Places identifier of the venue */
46
-	public string $google_place_id;
45
+    /** Optional. Google Places identifier of the venue */
46
+    public string $google_place_id;
47 47
 
48
-	/** Optional. Google Places type of the venue. (See supported types.) */
49
-	public string $google_place_type;
48
+    /** Optional. Google Places type of the venue. (See supported types.) */
49
+    public string $google_place_type;
50 50
 
51
-	/** Optional. Inline keyboard attached to the message */
52
-	public inlineKeyboardMarkup $reply_markup;
51
+    /** Optional. Inline keyboard attached to the message */
52
+    public inlineKeyboardMarkup $reply_markup;
53 53
 
54
-	/** Optional. Content of the message to be sent instead of the venue */
55
-	public inputMessageContent $input_message_content;
54
+    /** Optional. Content of the message to be sent instead of the venue */
55
+    public inputMessageContent $input_message_content;
56 56
 
57
-	/** Optional. Url of the thumbnail for the result */
58
-	public string $thumb_url;
57
+    /** Optional. Url of the thumbnail for the result */
58
+    public string $thumb_url;
59 59
 
60
-	/** Optional. Thumbnail width */
61
-	public int $thumb_width;
60
+    /** Optional. Thumbnail width */
61
+    public int $thumb_width;
62 62
 
63
-	/** Optional. Thumbnail height */
64
-	public int $thumb_height;
63
+    /** Optional. Thumbnail height */
64
+    public int $thumb_height;
65 65
 
66 66
 
67
-	public function __construct(stdClass $update) {
68
-		parent::__construct($update, self::subs);
69
-	}
67
+    public function __construct(stdClass $update) {
68
+        parent::__construct($update, self::subs);
69
+    }
70 70
 }
Please login to merge, or discard this patch.
types/document.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -8,32 +8,32 @@
 block discarded – undo
8 8
  * This object represents a general file (as opposed to photos, voice messages and audio files).
9 9
  */
10 10
 class document extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = ['thumb' => 'BPT\types\photoSize'];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = ['thumb' => 'BPT\types\photoSize'];
13 13
 
14
-	/** Identifier for this file, which can be used to download or reuse the file */
15
-	public string $file_id;
14
+    /** Identifier for this file, which can be used to download or reuse the file */
15
+    public string $file_id;
16 16
 
17
-	/**
18
-	 * Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be
19
-	 * used to download or reuse the file.
20
-	 */
21
-	public string $file_unique_id;
17
+    /**
18
+     * Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be
19
+     * used to download or reuse the file.
20
+     */
21
+    public string $file_unique_id;
22 22
 
23
-	/** Optional. Document thumbnail as defined by sender */
24
-	public photoSize $thumb;
23
+    /** Optional. Document thumbnail as defined by sender */
24
+    public photoSize $thumb;
25 25
 
26
-	/** Optional. Original filename as defined by sender */
27
-	public string $file_name;
26
+    /** Optional. Original filename as defined by sender */
27
+    public string $file_name;
28 28
 
29
-	/** Optional. MIME type of the file as defined by sender */
30
-	public string $mime_type;
29
+    /** Optional. MIME type of the file as defined by sender */
30
+    public string $mime_type;
31 31
 
32
-	/** Optional. File size in bytes */
33
-	public int $file_size;
32
+    /** Optional. File size in bytes */
33
+    public int $file_size;
34 34
 
35 35
 
36
-	public function __construct(stdClass $update) {
37
-		parent::__construct($update, self::subs);
38
-	}
36
+    public function __construct(stdClass $update) {
37
+        parent::__construct($update, self::subs);
38
+    }
39 39
 }
Please login to merge, or discard this patch.
types/inlineQueryResultGif.php 1 patch
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -10,59 +10,59 @@
 block discarded – undo
10 10
  * content instead of the animation.
11 11
  */
12 12
 class inlineQueryResultGif extends types {
13
-	/** Keep all of properties which has sub properties */
14
-	private const subs = [
15
-		'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
16
-		'input_message_content' => 'BPT\types\inputMessageContent',
17
-	];
13
+    /** Keep all of properties which has sub properties */
14
+    private const subs = [
15
+        'reply_markup' => 'BPT\types\inlineKeyboardMarkup',
16
+        'input_message_content' => 'BPT\types\inputMessageContent',
17
+    ];
18 18
 
19
-	/** Type of the result, must be gif */
20
-	public string $type;
19
+    /** Type of the result, must be gif */
20
+    public string $type;
21 21
 
22
-	/** Unique identifier for this result, 1-64 bytes */
23
-	public string $id;
22
+    /** Unique identifier for this result, 1-64 bytes */
23
+    public string $id;
24 24
 
25
-	/** A valid URL for the GIF file. File size must not exceed 1MB */
26
-	public string $gif_url;
25
+    /** A valid URL for the GIF file. File size must not exceed 1MB */
26
+    public string $gif_url;
27 27
 
28
-	/** Optional. Width of the GIF */
29
-	public int $gif_width;
28
+    /** Optional. Width of the GIF */
29
+    public int $gif_width;
30 30
 
31
-	/** Optional. Height of the GIF */
32
-	public int $gif_height;
31
+    /** Optional. Height of the GIF */
32
+    public int $gif_height;
33 33
 
34
-	/** Optional. Duration of the GIF in seconds */
35
-	public int $gif_duration;
34
+    /** Optional. Duration of the GIF in seconds */
35
+    public int $gif_duration;
36 36
 
37
-	/** URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result */
38
-	public string $thumb_url;
37
+    /** URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result */
38
+    public string $thumb_url;
39 39
 
40
-	/**
41
-	 * Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”.
42
-	 * Defaults to “image/jpeg”
43
-	 */
44
-	public string $thumb_mime_type;
40
+    /**
41
+     * Optional. MIME type of the thumbnail, must be one of “image/jpeg”, “image/gif”, or “video/mp4”.
42
+     * Defaults to “image/jpeg”
43
+     */
44
+    public string $thumb_mime_type;
45 45
 
46
-	/** Optional. Title for the result */
47
-	public string $title;
46
+    /** Optional. Title for the result */
47
+    public string $title;
48 48
 
49
-	/** Optional. Caption of the GIF file to be sent, 0-1024 characters after entities parsing */
50
-	public string $caption;
49
+    /** Optional. Caption of the GIF file to be sent, 0-1024 characters after entities parsing */
50
+    public string $caption;
51 51
 
52
-	/** Optional. Mode for parsing entities in the caption. See formatting options for more details. */
53
-	public string $parse_mode;
52
+    /** Optional. Mode for parsing entities in the caption. See formatting options for more details. */
53
+    public string $parse_mode;
54 54
 
55
-	/** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */
56
-	public array $caption_entities;
55
+    /** Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode */
56
+    public array $caption_entities;
57 57
 
58
-	/** Optional. Inline keyboard attached to the message */
59
-	public inlineKeyboardMarkup $reply_markup;
58
+    /** Optional. Inline keyboard attached to the message */
59
+    public inlineKeyboardMarkup $reply_markup;
60 60
 
61
-	/** Optional. Content of the message to be sent instead of the GIF animation */
62
-	public inputMessageContent $input_message_content;
61
+    /** Optional. Content of the message to be sent instead of the GIF animation */
62
+    public inputMessageContent $input_message_content;
63 63
 
64 64
 
65
-	public function __construct(stdClass $update) {
66
-		parent::__construct($update, self::subs);
67
-	}
65
+    public function __construct(stdClass $update) {
66
+        parent::__construct($update, self::subs);
67
+    }
68 68
 }
Please login to merge, or discard this patch.
types/chatMemberMember.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -8,17 +8,17 @@
 block discarded – undo
8 8
  * Represents a chat member that has no additional privileges or restrictions.
9 9
  */
10 10
 class chatMemberMember extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = ['user' => 'BPT\types\user'];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = ['user' => 'BPT\types\user'];
13 13
 
14
-	/** The member's status in the chat, always “member” */
15
-	public string $status;
14
+    /** The member's status in the chat, always “member” */
15
+    public string $status;
16 16
 
17
-	/** Information about the user */
18
-	public user $user;
17
+    /** Information about the user */
18
+    public user $user;
19 19
 
20 20
 
21
-	public function __construct(stdClass $update) {
22
-		parent::__construct($update, self::subs);
23
-	}
21
+    public function __construct(stdClass $update) {
22
+        parent::__construct($update, self::subs);
23
+    }
24 24
 }
Please login to merge, or discard this patch.
types/inputContactMessageContent.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -8,23 +8,23 @@
 block discarded – undo
8 8
  * Represents the content of a contact message to be sent as the result of an inline query.
9 9
  */
10 10
 class inputContactMessageContent extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = [];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = [];
13 13
 
14
-	/** Contact's phone number */
15
-	public string $phone_number;
14
+    /** Contact's phone number */
15
+    public string $phone_number;
16 16
 
17
-	/** Contact's first name */
18
-	public string $first_name;
17
+    /** Contact's first name */
18
+    public string $first_name;
19 19
 
20
-	/** Optional. Contact's last name */
21
-	public string $last_name;
20
+    /** Optional. Contact's last name */
21
+    public string $last_name;
22 22
 
23
-	/** Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes */
24
-	public string $vcard;
23
+    /** Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes */
24
+    public string $vcard;
25 25
 
26 26
 
27
-	public function __construct(stdClass $update) {
28
-		parent::__construct($update, self::subs);
29
-	}
27
+    public function __construct(stdClass $update) {
28
+        parent::__construct($update, self::subs);
29
+    }
30 30
 }
Please login to merge, or discard this patch.