MsgSeqListParameter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
c 1
b 0
f 0
dl 0
loc 22
ccs 0
cts 4
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setMsgSeq() 0 4 1
1
<?php
2
3
namespace EasyIM\TencentIM\Group\Parameter\Message;
4
5
use EasyIM\Kernel\Parameter;
6
7
/**
8
 * Class MsgSeqListParameter
9
 *
10
 * @package EasyIM\TencentIM\Group\Parameter\Message
11
 * @author  yingzhan <[email protected]>
12
 *
13
 */
14
class MsgSeqListParameter extends Parameter
15
{
16
    /**
17
     * @var array
18
     */
19
    protected $properties = [
20
        'MsgSeq',
21
    ];
22
23
    protected $required = ['MsgSeq'];
24
25
26
    /**
27
     *
28
     * @param int $value
29
     *
30
     * @return $this
31
     */
32
    public function setMsgSeq(int $value)
33
    {
34
        $this->setAttribute('MsgSeq', $value);
35
        return $this;
36
    }
37
}
38