GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 0f20ce...679695 )
by Jazin
10:17 queued 12s
created

ChatMemberOwner::subEntities()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace Longman\TelegramBot\Entities\ChatMember;
4
5
use Longman\TelegramBot\Entities\Entity;
6
use Longman\TelegramBot\Entities\User;
7
8
/**
9
 * Class ChatMemberOwner
10
 *
11
 * @link https://core.telegram.org/bots/api#chatmemberowner
12
 *
13
 * @method string getStatus()      The member's status in the chat, always “creator”
14
 * @method User   getUser()        Information about the user
15
 * @method string getCustomTitle() Custom title for this user
16
 * @method bool   getIsAnonymous() True, if the user's presence in the chat is hidden
17
 */
18
class ChatMemberOwner extends Entity implements ChatMember
19
{
20
    /**
21
     * {@inheritdoc}
22
     */
23
    protected function subEntities(): array
24
    {
25
        return [
26
            'user' => User::class,
27
        ];
28
    }
29
}
30