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

MessageEntity::relations()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
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