VideoChatParticipantsInvited   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 10
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A subEntities() 0 4 1
1
<?php
2
3
namespace TelegramBot\Entities;
4
5
use TelegramBot\Entity;
6
7
/**
8
 * This object represents a service message about new members invited to a video chat.
9
 *
10
 * @link https://core.telegram.org/bots/api#videochatparticipantsinvited
11
 *
12
 * @method User[] getUsers()    New members that were invited to the video chat
13
 */
14
class VideoChatParticipantsInvited extends Entity
15
{
16
17
    /**
18
     * {@inheritdoc}
19
     */
20
    protected function subEntities(): array
21
    {
22
        return [
23
            'users' => [User::class],
24
        ];
25
    }
26
27
}
28