@@ -91,7 +91,7 @@ |
||
91 | 91 | { |
92 | 92 | $result = []; |
93 | 93 | foreach (self::TYPES_MAP as $flag => $type) { |
94 | - if ($types & $flag) { |
|
94 | + if ($types&$flag) { |
|
95 | 95 | $result[] = $type; |
96 | 96 | } |
97 | 97 | } |
@@ -4,6 +4,6 @@ |
||
4 | 4 | |
5 | 5 | class BotCommandScopeDefault extends BotCommandScope |
6 | 6 | { |
7 | - /** @var string */ |
|
8 | - public string $type; |
|
7 | + /** @var string */ |
|
8 | + public string $type; |
|
9 | 9 | } |
@@ -4,12 +4,12 @@ |
||
4 | 4 | |
5 | 5 | class ForceReply implements TypeInterface |
6 | 6 | { |
7 | - /** @var bool */ |
|
8 | - public bool $forceReply; |
|
7 | + /** @var bool */ |
|
8 | + public bool $forceReply; |
|
9 | 9 | |
10 | 10 | /** @var string|null */ |
11 | 11 | public ?string $inputFieldPlaceholder = null; |
12 | 12 | |
13 | - /** @var bool|null */ |
|
14 | - public ?bool $selective = null; |
|
13 | + /** @var bool|null */ |
|
14 | + public ?bool $selective = null; |
|
15 | 15 | } |
@@ -4,12 +4,12 @@ |
||
4 | 4 | |
5 | 5 | class ChatMemberBanned extends ChatMember |
6 | 6 | { |
7 | - /** @var string */ |
|
8 | - public string $status; |
|
7 | + /** @var string */ |
|
8 | + public string $status; |
|
9 | 9 | |
10 | - /** @var User */ |
|
11 | - public User $user; |
|
10 | + /** @var User */ |
|
11 | + public User $user; |
|
12 | 12 | |
13 | - /** @var int */ |
|
14 | - public int $untilDate; |
|
13 | + /** @var int */ |
|
14 | + public int $untilDate; |
|
15 | 15 | } |
@@ -4,15 +4,15 @@ |
||
4 | 4 | |
5 | 5 | class ChatMemberOwner extends ChatMember |
6 | 6 | { |
7 | - /** @var string */ |
|
8 | - public string $status; |
|
7 | + /** @var string */ |
|
8 | + public string $status; |
|
9 | 9 | |
10 | - /** @var User */ |
|
11 | - public User $user; |
|
10 | + /** @var User */ |
|
11 | + public User $user; |
|
12 | 12 | |
13 | - /** @var bool */ |
|
14 | - public bool $isAnonymous; |
|
13 | + /** @var bool */ |
|
14 | + public bool $isAnonymous; |
|
15 | 15 | |
16 | - /** @var string|null */ |
|
17 | - public ?string $customTitle = null; |
|
16 | + /** @var string|null */ |
|
17 | + public ?string $customTitle = null; |
|
18 | 18 | } |
@@ -4,6 +4,6 @@ |
||
4 | 4 | |
5 | 5 | class BotCommandScopeAllGroupChats extends BotCommandScope |
6 | 6 | { |
7 | - /** @var string */ |
|
8 | - public string $type; |
|
7 | + /** @var string */ |
|
8 | + public string $type; |
|
9 | 9 | } |
@@ -4,12 +4,12 @@ |
||
4 | 4 | |
5 | 5 | class BotCommandScopeChatMember extends BotCommandScope |
6 | 6 | { |
7 | - /** @var string */ |
|
8 | - public string $type; |
|
7 | + /** @var string */ |
|
8 | + public string $type; |
|
9 | 9 | |
10 | - /** @var int|string */ |
|
11 | - public int|string $chatId; |
|
10 | + /** @var int|string */ |
|
11 | + public int|string $chatId; |
|
12 | 12 | |
13 | - /** @var int */ |
|
14 | - public int $userId; |
|
13 | + /** @var int */ |
|
14 | + public int $userId; |
|
15 | 15 | } |
@@ -4,48 +4,48 @@ |
||
4 | 4 | |
5 | 5 | class ChatMemberAdministrator extends ChatMember |
6 | 6 | { |
7 | - /** @var string */ |
|
8 | - public string $status; |
|
7 | + /** @var string */ |
|
8 | + public string $status; |
|
9 | 9 | |
10 | - /** @var User */ |
|
11 | - public User $user; |
|
10 | + /** @var User */ |
|
11 | + public User $user; |
|
12 | 12 | |
13 | - /** @var bool */ |
|
14 | - public bool $canBeEdited; |
|
13 | + /** @var bool */ |
|
14 | + public bool $canBeEdited; |
|
15 | 15 | |
16 | - /** @var bool */ |
|
17 | - public bool $isAnonymous; |
|
16 | + /** @var bool */ |
|
17 | + public bool $isAnonymous; |
|
18 | 18 | |
19 | - /** @var bool */ |
|
20 | - public bool $canManageChat; |
|
19 | + /** @var bool */ |
|
20 | + public bool $canManageChat; |
|
21 | 21 | |
22 | - /** @var bool */ |
|
23 | - public bool $canDeleteMessages; |
|
22 | + /** @var bool */ |
|
23 | + public bool $canDeleteMessages; |
|
24 | 24 | |
25 | - /** @var bool */ |
|
26 | - public bool $canManageVoiceChats; |
|
25 | + /** @var bool */ |
|
26 | + public bool $canManageVoiceChats; |
|
27 | 27 | |
28 | - /** @var bool */ |
|
29 | - public bool $canRestrictMembers; |
|
28 | + /** @var bool */ |
|
29 | + public bool $canRestrictMembers; |
|
30 | 30 | |
31 | - /** @var bool */ |
|
32 | - public bool $canPromoteMembers; |
|
31 | + /** @var bool */ |
|
32 | + public bool $canPromoteMembers; |
|
33 | 33 | |
34 | - /** @var bool */ |
|
35 | - public bool $canChangeInfo; |
|
34 | + /** @var bool */ |
|
35 | + public bool $canChangeInfo; |
|
36 | 36 | |
37 | - /** @var bool */ |
|
38 | - public bool $canInviteUsers; |
|
37 | + /** @var bool */ |
|
38 | + public bool $canInviteUsers; |
|
39 | 39 | |
40 | - /** @var bool|null */ |
|
41 | - public ?bool $canPostMessages = null; |
|
40 | + /** @var bool|null */ |
|
41 | + public ?bool $canPostMessages = null; |
|
42 | 42 | |
43 | - /** @var bool|null */ |
|
44 | - public ?bool $canEditMessages = null; |
|
43 | + /** @var bool|null */ |
|
44 | + public ?bool $canEditMessages = null; |
|
45 | 45 | |
46 | - /** @var bool|null */ |
|
47 | - public ?bool $canPinMessages = null; |
|
46 | + /** @var bool|null */ |
|
47 | + public ?bool $canPinMessages = null; |
|
48 | 48 | |
49 | - /** @var string|null */ |
|
50 | - public ?string $customTitle = null; |
|
49 | + /** @var string|null */ |
|
50 | + public ?string $customTitle = null; |
|
51 | 51 | } |
@@ -4,9 +4,9 @@ |
||
4 | 4 | |
5 | 5 | class ChatMemberLeft extends ChatMember |
6 | 6 | { |
7 | - /** @var string */ |
|
8 | - public string $status; |
|
7 | + /** @var string */ |
|
8 | + public string $status; |
|
9 | 9 | |
10 | - /** @var User */ |
|
11 | - public User $user; |
|
10 | + /** @var User */ |
|
11 | + public User $user; |
|
12 | 12 | } |