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 ( d519bc...fc7852 )
by
unknown
04:26
created

GetAsyncJobResult::withJobId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
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 GetAsyncJobResult getAsyncJobResult(array $options = [])
10
 */
11
class ImageprocessApiResolver extends ApiResolver
12
{
13
}
14
15
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
16
{
17
    /** @var string */
18
    public $product = 'imageprocess';
19
20
    /** @var string */
21
    public $version = '2020-03-20';
22
23
    /** @var string */
24
    public $method = 'POST';
25
26
    /** @var string */
27
    public $serviceCode = 'imageprocess';
28
}
29
30
/**
31
 * @method array getURLList()
32
 * @method string getAsync()
33
 */
34
class DetectCovid19Cad extends Rpc
35
{
36
37
    /**
38
     * @param array $uRLList
39
     *
40
     * @return $this
41
     */
42
	public function withURLList(array $uRLList)
43
	{
44
	    $this->data['URLList'] = $uRLList;
45
		foreach ($uRLList as $depth1 => $depth1Value) {
46
			if(isset($depth1Value['URL'])){
47
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
48
			}
49
		}
50
51
		return $this;
52
    }
53
54
    /**
55
     * @param string $value
56
     *
57
     * @return $this
58
     */
59
    public function withAsync($value)
60
    {
61
        $this->data['Async'] = $value;
62
        $this->options['form_params']['Async'] = $value;
63
64
        return $this;
65
    }
66
}
67
68
/**
69
 * @method string getAsync()
70
 * @method string getJobId()
71
 */
72
class GetAsyncJobResult extends Rpc
73
{
74
75
    /**
76
     * @param string $value
77
     *
78
     * @return $this
79
     */
80
    public function withAsync($value)
81
    {
82
        $this->data['Async'] = $value;
83
        $this->options['form_params']['Async'] = $value;
84
85
        return $this;
86
    }
87
88
    /**
89
     * @param string $value
90
     *
91
     * @return $this
92
     */
93
    public function withJobId($value)
94
    {
95
        $this->data['JobId'] = $value;
96
        $this->options['form_params']['JobId'] = $value;
97
98
        return $this;
99
    }
100
}
101