Completed
Push — master ( 5e7ab0...d22029 )
by Irfaq
08:56
created

InlineQuery   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A relations() 0 6 1
1
<?php
2
3
namespace Telegram\Bot\Objects;
4
5
/**
6
 * Class InlineQuery.
7
 *
8
 *
9
 * @method int              getMessageId()              Unique message identifier.
10
 * @method User             getFrom()                   (Optional). Sender, can be empty for messages sent to channels.
11
 */
12
class InlineQuery extends BaseObject
13
{
14
    /**
15
     * {@inheritdoc}
16
     */
17
    public function relations()
18
    {
19
        return [
20
            'from' => User::class,
21
        ];
22
    }
23
}
24