Test Failed
Push — master ( 67c9bb...4758b5 )
by
unknown
02:50 queued 38s
created

ChatPhoto::getBigFileId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace TelegramBot\Api\Types;
4
5
use TelegramBot\Api\BaseType;
6
7
class ChatPhoto extends BaseType
8
{
9
    /**
10
     * {@inheritdoc}
11
     *
12
     * @var array
13
     */
14
    static protected $requiredParams = ['small_file_id', 'big_file_id'];
15
16
    /**
17
     * {@inheritdoc}
18
     *
19
     * @var array
20
     */
21
    static protected $map = [
22
        'small_file_id' => true,
23
        'big_file_id' => true,
24
    ];
25
26
    /**
27
     * Unique file identifier of small (160x160) chat photo. This file_id can be used only for photo download.
28
     *
29
     * @var string
30
     */
31
    protected $smallFileId;
32
33
    /**
34
     * Unique file identifier of big (640x640) chat photo. This file_id can be used only for photo download.
35
     *
36
     * @var string
37
     */
38
    protected $bigFileId;
39
40
    /**
41
     * @return string
42
     */
43
    public function getSmallFileId()
44
    {
45
        return $this->smallFileId;
46
    }
47
48
    /**
49
     * @param string $smallFileId
50
     */
51
    public function setSmallFileId($smallFileId)
52
    {
53
        $this->smallFileId = $smallFileId;
54
    }
55
56
    /**
57
     * @return string
58
     */
59
    public function getBigFileId()
60
    {
61
        return $this->bigFileId;
62
    }
63
64
    /**
65
     * @param string $bigFileId
66
     */
67
    public function setBigFileId($bigFileId)
68
    {
69
        $this->bigFileId = $bigFileId;
70
    }
71
}