Passed
Push — main ( 2ad3f1...bfb9d3 )
by Miaad
01:30
created
types/stickerSet.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -8,32 +8,32 @@
 block discarded – undo
8 8
  * This object represents a sticker set.
9 9
  */
10 10
 class stickerSet 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
-	/** Sticker set name */
15
-	public string $name;
14
+    /** Sticker set name */
15
+    public string $name;
16 16
 
17
-	/** Sticker set title */
18
-	public string $title;
17
+    /** Sticker set title */
18
+    public string $title;
19 19
 
20
-	/** True, if the sticker set contains animated stickers */
21
-	public bool $is_animated;
20
+    /** True, if the sticker set contains animated stickers */
21
+    public bool $is_animated;
22 22
 
23
-	/** True, if the sticker set contains video stickers */
24
-	public bool $is_video;
23
+    /** True, if the sticker set contains video stickers */
24
+    public bool $is_video;
25 25
 
26
-	/** True, if the sticker set contains masks */
27
-	public bool $contains_masks;
26
+    /** True, if the sticker set contains masks */
27
+    public bool $contains_masks;
28 28
 
29
-	/** List of all set stickers */
30
-	public array $stickers;
29
+    /** List of all set stickers */
30
+    public array $stickers;
31 31
 
32
-	/** Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format */
33
-	public photoSize $thumb;
32
+    /** Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format */
33
+    public photoSize $thumb;
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/passportElementErrorFile.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -9,26 +9,26 @@
 block discarded – undo
9 9
  * scan changes.
10 10
  */
11 11
 class passportElementErrorFile 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
-	/** Error source, must be file */
16
-	public string $source;
15
+    /** Error source, must be file */
16
+    public string $source;
17 17
 
18
-	/**
19
-	 * The section of the user's Telegram Passport which has the issue, one of “utility_bill”,
20
-	 * “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”
21
-	 */
22
-	public string $type;
18
+    /**
19
+     * The section of the user's Telegram Passport which has the issue, one of “utility_bill”,
20
+     * “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”
21
+     */
22
+    public string $type;
23 23
 
24
-	/** Base64-encoded file hash */
25
-	public string $file_hash;
24
+    /** Base64-encoded file hash */
25
+    public string $file_hash;
26 26
 
27
-	/** Error message */
28
-	public string $message;
27
+    /** Error message */
28
+    public string $message;
29 29
 
30 30
 
31
-	public function __construct(stdClass $update) {
32
-		parent::__construct($update, self::subs);
33
-	}
31
+    public function __construct(stdClass $update) {
32
+        parent::__construct($update, self::subs);
33
+    }
34 34
 }
Please login to merge, or discard this patch.
types/passportElementErrorTranslationFile.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -9,27 +9,27 @@
 block discarded – undo
9 9
  * considered resolved when the file changes.
10 10
  */
11 11
 class passportElementErrorTranslationFile 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
-	/** Error source, must be translation_file */
16
-	public string $source;
15
+    /** Error source, must be translation_file */
16
+    public string $source;
17 17
 
18
-	/**
19
-	 * Type of element of the user's Telegram Passport which has the issue, one of “passport”,
20
-	 * “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”,
21
-	 * “rental_agreement”, “passport_registration”, “temporary_registration”
22
-	 */
23
-	public string $type;
18
+    /**
19
+     * Type of element of the user's Telegram Passport which has the issue, one of “passport”,
20
+     * “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”,
21
+     * “rental_agreement”, “passport_registration”, “temporary_registration”
22
+     */
23
+    public string $type;
24 24
 
25
-	/** Base64-encoded file hash */
26
-	public string $file_hash;
25
+    /** Base64-encoded file hash */
26
+    public string $file_hash;
27 27
 
28
-	/** Error message */
29
-	public string $message;
28
+    /** Error message */
29
+    public string $message;
30 30
 
31 31
 
32
-	public function __construct(stdClass $update) {
33
-		parent::__construct($update, self::subs);
34
-	}
32
+    public function __construct(stdClass $update) {
33
+        parent::__construct($update, self::subs);
34
+    }
35 35
 }
Please login to merge, or discard this patch.
types/responseParameters.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -8,25 +8,25 @@
 block discarded – undo
8 8
  * Contains information about why a request was unsuccessful.
9 9
  */
10 10
 class responseParameters 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
-	/**
15
-	 * Optional. The group has been migrated to a supergroup with the specified identifier. This number may have more
16
-	 * than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it.
17
-	 * But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for
18
-	 * storing this identifier.
19
-	 */
20
-	public int $migrate_to_chat_id;
14
+    /**
15
+     * Optional. The group has been migrated to a supergroup with the specified identifier. This number may have more
16
+     * than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it.
17
+     * But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for
18
+     * storing this identifier.
19
+     */
20
+    public int $migrate_to_chat_id;
21 21
 
22
-	/**
23
-	 * Optional. In case of exceeding flood control, the number of seconds left to wait before the request can be
24
-	 * repeated
25
-	 */
26
-	public int $retry_after;
22
+    /**
23
+     * Optional. In case of exceeding flood control, the number of seconds left to wait before the request can be
24
+     * repeated
25
+     */
26
+    public int $retry_after;
27 27
 
28 28
 
29
-	public function __construct(stdClass $update) {
30
-		parent::__construct($update, self::subs);
31
-	}
29
+    public function __construct(stdClass $update) {
30
+        parent::__construct($update, self::subs);
31
+    }
32 32
 }
Please login to merge, or discard this patch.
types/replyKeyboardRemove.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -11,26 +11,26 @@
 block discarded – undo
11 11
  * button (see ReplyKeyboardMarkup).
12 12
  */
13 13
 class replyKeyboardRemove extends types {
14
-	/** Keep all of properties which has sub properties */
15
-	private const subs = [];
14
+    /** Keep all of properties which has sub properties */
15
+    private const subs = [];
16 16
 
17
-	/**
18
-	 * Requests clients to remove the custom keyboard (user will not be able to summon this keyboard; if you want to
19
-	 * hide the keyboard from sight but keep it accessible, use one_time_keyboard in ReplyKeyboardMarkup)
20
-	 */
21
-	public bool $remove_keyboard;
17
+    /**
18
+     * Requests clients to remove the custom keyboard (user will not be able to summon this keyboard; if you want to
19
+     * hide the keyboard from sight but keep it accessible, use one_time_keyboard in ReplyKeyboardMarkup)
20
+     */
21
+    public bool $remove_keyboard;
22 22
 
23
-	/**
24
-	 * Optional. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users
25
-	 * that are mentioned in the text of the Message object; 2) if the bot's message is a reply (has
26
-	 * reply_to_message_id), sender of the original message.Example: A user votes in a poll, bot returns confirmation
27
-	 * message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with
28
-	 * poll options to users who haven't voted yet.
29
-	 */
30
-	public bool $selective;
23
+    /**
24
+     * Optional. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users
25
+     * that are mentioned in the text of the Message object; 2) if the bot's message is a reply (has
26
+     * reply_to_message_id), sender of the original message.Example: A user votes in a poll, bot returns confirmation
27
+     * message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with
28
+     * poll options to users who haven't voted yet.
29
+     */
30
+    public bool $selective;
31 31
 
32 32
 
33
-	public function __construct(stdClass $update) {
34
-		parent::__construct($update, self::subs);
35
-	}
33
+    public function __construct(stdClass $update) {
34
+        parent::__construct($update, self::subs);
35
+    }
36 36
 }
Please login to merge, or discard this patch.
types/videoChatScheduled.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -8,14 +8,14 @@
 block discarded – undo
8 8
  * This object represents a service message about a video chat scheduled in the chat.
9 9
  */
10 10
 class videoChatScheduled 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
-	/** Point in time (Unix timestamp) when the video chat is supposed to be started by a chat administrator */
15
-	public int $start_date;
14
+    /** Point in time (Unix timestamp) when the video chat is supposed to be started by a chat administrator */
15
+    public int $start_date;
16 16
 
17 17
 
18
-	public function __construct(stdClass $update) {
19
-		parent::__construct($update, self::subs);
20
-	}
18
+    public function __construct(stdClass $update) {
19
+        parent::__construct($update, self::subs);
20
+    }
21 21
 }
Please login to merge, or discard this patch.
types/passportData.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
  * Contains information about Telegram Passport data shared with the bot by the user.
9 9
  */
10 10
 class passportData extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = ['credentials' => 'BPT\types\encryptedCredentials'];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = ['credentials' => 'BPT\types\encryptedCredentials'];
13 13
 
14
-	/** Array with information about documents and other Telegram Passport elements that was shared with the bot */
15
-	public array $data;
14
+    /** Array with information about documents and other Telegram Passport elements that was shared with the bot */
15
+    public array $data;
16 16
 
17
-	/** Encrypted credentials required to decrypt the data */
18
-	public encryptedCredentials $credentials;
17
+    /** Encrypted credentials required to decrypt the data */
18
+    public encryptedCredentials $credentials;
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/pollAnswer.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -8,20 +8,20 @@
 block discarded – undo
8 8
  * This object represents an answer of a user in a non-anonymous poll.
9 9
  */
10 10
 class pollAnswer 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
-	/** Unique poll identifier */
15
-	public string $poll_id;
14
+    /** Unique poll identifier */
15
+    public string $poll_id;
16 16
 
17
-	/** The user, who changed the answer to the poll */
18
-	public user $user;
17
+    /** The user, who changed the answer to the poll */
18
+    public user $user;
19 19
 
20
-	/** 0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote. */
21
-	public array $option_ids;
20
+    /** 0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote. */
21
+    public array $option_ids;
22 22
 
23 23
 
24
-	public function __construct(stdClass $update) {
25
-		parent::__construct($update, self::subs);
26
-	}
24
+    public function __construct(stdClass $update) {
25
+        parent::__construct($update, self::subs);
26
+    }
27 27
 }
Please login to merge, or discard this patch.
types/sticker.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -8,47 +8,47 @@
 block discarded – undo
8 8
  * This object represents a sticker.
9 9
  */
10 10
 class sticker extends types {
11
-	/** Keep all of properties which has sub properties */
12
-	private const subs = ['thumb' => 'BPT\types\photoSize', 'mask_position' => 'BPT\types\maskPosition'];
11
+    /** Keep all of properties which has sub properties */
12
+    private const subs = ['thumb' => 'BPT\types\photoSize', 'mask_position' => 'BPT\types\maskPosition'];
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
-	/** Sticker width */
24
-	public int $width;
23
+    /** Sticker width */
24
+    public int $width;
25 25
 
26
-	/** Sticker height */
27
-	public int $height;
26
+    /** Sticker height */
27
+    public int $height;
28 28
 
29
-	/** True, if the sticker is animated */
30
-	public bool $is_animated;
29
+    /** True, if the sticker is animated */
30
+    public bool $is_animated;
31 31
 
32
-	/** True, if the sticker is a video sticker */
33
-	public bool $is_video;
32
+    /** True, if the sticker is a video sticker */
33
+    public bool $is_video;
34 34
 
35
-	/** Optional. Sticker thumbnail in the .WEBP or .JPG format */
36
-	public photoSize $thumb;
35
+    /** Optional. Sticker thumbnail in the .WEBP or .JPG format */
36
+    public photoSize $thumb;
37 37
 
38
-	/** Optional. Emoji associated with the sticker */
39
-	public string $emoji;
38
+    /** Optional. Emoji associated with the sticker */
39
+    public string $emoji;
40 40
 
41
-	/** Optional. Name of the sticker set to which the sticker belongs */
42
-	public string $set_name;
41
+    /** Optional. Name of the sticker set to which the sticker belongs */
42
+    public string $set_name;
43 43
 
44
-	/** Optional. For mask stickers, the position where the mask should be placed */
45
-	public maskPosition $mask_position;
44
+    /** Optional. For mask stickers, the position where the mask should be placed */
45
+    public maskPosition $mask_position;
46 46
 
47
-	/** Optional. File size in bytes */
48
-	public int $file_size;
47
+    /** Optional. File size in bytes */
48
+    public int $file_size;
49 49
 
50 50
 
51
-	public function __construct(stdClass $update) {
52
-		parent::__construct($update, self::subs);
53
-	}
51
+    public function __construct(stdClass $update) {
52
+        parent::__construct($update, self::subs);
53
+    }
54 54
 }
Please login to merge, or discard this patch.