ChatMember::relations()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Telegram\Bot\Objects;
4
5
/**
6
 * Class ChatMember.
7
 *
8
 * @method User            getUser()             Information about the user.
9
 * @method string          getStatus()           (Optional). The member's status in the chat. Can be “creator”, “administrator”, “member”, “left” or “kicked”
10
 */
11
class ChatMember extends BaseObject
12
{
13
    /**
14
     * {@inheritdoc}
15
     */
16
    public function relations()
17
    {
18
        return [
19
            'user'    => User::class,
20
        ];
21
    }
22
}
23