GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( f38619...77f9cd )
by Yong
02:07 queued 11s
created

FtParamList   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 4
eloc 8
dl 0
loc 21
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withDisk() 0 13 4
1
<?php
2
3
namespace AlibabaCloud\Ft\V20180713;
4
5
use AlibabaCloud\Rpc;
6
7
class V20180713Rpc extends Rpc
8
{
9
    /** @var string */
10
    public $product = 'Ft';
11
12
    /** @var string */
13
    public $version = '2018-07-13';
14
15
    /** @var string */
16
    public $method = 'POST';
17
}
18
19
/**
20
 * @method string getName()
21
 * @method $this withName($value)
22
 */
23
class FtFlowSpecial extends V20180713Rpc
24
{
25
}
26
27
class FtDynamicAddressHsf extends V20180713Rpc
28
{
29
}
30
31
/**
32
 * @method string getIntValue()
33
 * @method $this withIntValue($value)
34
 * @method string getStringValue()
35
 * @method $this withStringValue($value)
36
 */
37
class FtDynamicAddressDubbo extends V20180713Rpc
38
{
39
}
40
41
/**
42
 * @method array getDisk()
43
 * @method string getName()
44
 * @method $this withName($value)
45
 */
46
class FtParamList extends V20180713Rpc
47
{
48
49
    /**
50
     * @param array $value
51
     *
52
     * @return $this
53
     */
54
    public function withDisk(array $value)
55
    {
56
        $this->data['Disk'] = $value;
57
        foreach ($value as $i => $iValue) {
58
            foreach ($value[$i]['Sizes'] as $j => $jValue) {
59
                $this->options['query']['Disk.' . ($i + 1) . '.Size.' . ($j + 1)] = $jValue;
60
            }
61
            foreach ($value[$i]['Types'] as $j => $jValue) {
62
                $this->options['query']['Disk.' . ($i + 1) . '.Type.' . ($j + 1)] = $jValue;
63
            }
64
        }
65
66
        return $this;
67
    }
68
}
69
70
/**
71
 * @method string getName()
72
 * @method $this withName($value)
73
 */
74
class FtEagleEye extends V20180713Rpc
75
{
76
}
77
78
/**
79
 * @method string getName()
80
 * @method $this withName($value)
81
 */
82
class FTApiAliasApi extends V20180713Rpc
83
{
84
}
85
86
/**
87
 * @method string getIsGatedLaunch()
88
 * @method $this withIsGatedLaunch($value)
89
 */
90
class FtGatedLaunchPolicy4 extends V20180713Rpc
91
{
92
}
93