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.
Test Failed
Push — master ( ddb9e2...33f941 )
by
unknown
16:42 queued 11:00
created

DetectLungNodule::withAsync()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Imageprocess\V20200320;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DetectCovid19Cad detectCovid19Cad(array $options = [])
9
 * @method DetectLungNodule detectLungNodule(array $options = [])
10
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
11
 */
12
class ImageprocessApiResolver extends ApiResolver
13
{
14
}
15
16
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
17
{
18
    /** @var string */
19
    public $product = 'imageprocess';
20
21
    /** @var string */
22
    public $version = '2020-03-20';
23
24
    /** @var string */
25
    public $method = 'POST';
26
27
    /** @var string */
28
    public $serviceCode = 'imageprocess';
29
}
30
31
/**
32
 * @method array getURLList()
33
 * @method string getAsync()
34
 */
35
class DetectCovid19Cad extends Rpc
36
{
37
38
    /**
39
     * @param array $uRLList
40
     *
41
     * @return $this
42
     */
43
	public function withURLList(array $uRLList)
44
	{
45
	    $this->data['URLList'] = $uRLList;
46
		foreach ($uRLList as $depth1 => $depth1Value) {
47
			if(isset($depth1Value['URL'])){
48
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
49
			}
50
		}
51
52
		return $this;
53
    }
54
55
    /**
56
     * @param string $value
57
     *
58
     * @return $this
59
     */
60
    public function withAsync($value)
61
    {
62
        $this->data['Async'] = $value;
63
        $this->options['form_params']['Async'] = $value;
64
65
        return $this;
66
    }
67
}
68
69
/**
70
 * @method array getURLList()
71
 * @method string getAsync()
72
 */
73
class DetectLungNodule extends Rpc
74
{
75
76
    /**
77
     * @param array $uRLList
78
     *
79
     * @return $this
80
     */
81
	public function withURLList(array $uRLList)
82
	{
83
	    $this->data['URLList'] = $uRLList;
84
		foreach ($uRLList as $depth1 => $depth1Value) {
85
			if(isset($depth1Value['URL'])){
86
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
87
			}
88
		}
89
90
		return $this;
91
    }
92
93
    /**
94
     * @param string $value
95
     *
96
     * @return $this
97
     */
98
    public function withAsync($value)
99
    {
100
        $this->data['Async'] = $value;
101
        $this->options['form_params']['Async'] = $value;
102
103
        return $this;
104
    }
105
}
106
107
/**
108
 * @method string getAsync()
109
 * @method string getJobId()
110
 */
111
class GetAsyncJobResult extends Rpc
112
{
113
114
    /**
115
     * @param string $value
116
     *
117
     * @return $this
118
     */
119
    public function withAsync($value)
120
    {
121
        $this->data['Async'] = $value;
122
        $this->options['form_params']['Async'] = $value;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @param string $value
129
     *
130
     * @return $this
131
     */
132
    public function withJobId($value)
133
    {
134
        $this->data['JobId'] = $value;
135
        $this->options['form_params']['JobId'] = $value;
136
137
        return $this;
138
    }
139
}
140