Passed
Push — master ( 02a361...e20c00 )
by Shahrad
02:40
created

VideoChatParticipantsInvited   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

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