ChatMember   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A relations() 0 6 1
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