Completed
Push — master ( ab2d26...c692a8 )
by Irfaq
02:26
created

MessageEntity   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 10
ccs 0
cts 2
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A relations() 0 4 1
1
<?php
2
3
namespace Telegram\Bot\Objects;
4
5
/**
6
 * Class Location.
7
 *
8
 *
9
 * @method string   getType()   Type of the entity. One of mention (@username), hashtag, bot_command, url, email, bold (bold text), italic (italic text), code (monowidth string), pre (monowidth block), text_link (for clickable text URLs)
10
 * @method int      getOffset() Offset in UTF-16 code units to the start of the entity
11
 * @method int      getLength() Length of the entity in UTF-16 code units
12
 * @method string   getUrl()    (Optional). For "text_link" only, url that will be opened after user taps on the text.
13
 */
14
class MessageEntity extends BaseObject
15
{
16
    /**
17
     * {@inheritdoc}
18
     */
19
    public function relations()
20
    {
21
        return [];
22
    }
23
}
24