Total Complexity | 4 |
Total Lines | 65 |
Duplicated Lines | 0 % |
Coverage | 60% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class ChatPhoto extends BaseType |
||
8 | { |
||
9 | /** |
||
10 | * {@inheritdoc} |
||
11 | * |
||
12 | * @var array |
||
13 | */ |
||
14 | protected static $requiredParams = ['small_file_id', 'big_file_id']; |
||
15 | |||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | * |
||
19 | * @var array |
||
20 | */ |
||
21 | protected static $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() |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @param string $smallFileId |
||
50 | * @return void |
||
51 | 2 | */ |
|
52 | public function setSmallFileId($smallFileId) |
||
55 | } |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getBigFileId() |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * @param string $bigFileId |
||
67 | 2 | * @return void |
|
68 | */ |
||
69 | 2 | public function setBigFileId($bigFileId) |
|
74 |