Completed
Push — refactor_entities ( c268c7...a4ea86 )
by Armando
02:59
created

User::tryMention()   B

Complexity

Conditions 5
Paths 6

Size

Total Lines 24
Code Lines 13

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 13
CRAP Score 5

Importance

Changes 0
Metric Value
dl 0
loc 24
ccs 13
cts 13
cp 1
rs 8.5125
c 0
b 0
f 0
cc 5
eloc 13
nc 6
nop 1
crap 5
1
<?php
2
/**
3
 * This file is part of the TelegramBot package.
4
 *
5
 * (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Longman\TelegramBot\Entities;
12
13
/**
14
 * Class User
15
 *
16
 * @link https://core.telegram.org/bots/api#user
17
 *
18
 * @property int    $id         Unique identifier for this user or bot
19
 * @property string $first_name User's or bot’s first name
20
 * @property string $last_name  Optional. User's or bot’s last name
21
 * @property string $username   Optional. User's or bot’s username
22
 *
23
 * @method int    getId()        Unique identifier for this user or bot
24
 * @method string getFirstName() User's or bot’s first name
25
 * @method string getLastName()  Optional. User's or bot’s last name
26
 * @method string getUsername()  Optional. User's or bot’s username
27
 */
28
class User extends Entity
29
{
30
31
}
32