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 ( 8b9c3a...994bc8 )
by
unknown
11:00 queued 05:24
created

TaggingImage::withImageURL()   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\Imagerecog\V20190930;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DetectImageElements detectImageElements(array $options = [])
9
 * @method RecognizeImageColor recognizeImageColor(array $options = [])
10
 * @method RecognizeImageStyle recognizeImageStyle(array $options = [])
11
 * @method RecognizeScene recognizeScene(array $options = [])
12
 * @method TaggingImage taggingImage(array $options = [])
13
 */
14
class ImagerecogApiResolver extends ApiResolver
15
{
16
}
17
18
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
19
{
20
    /** @var string */
21
    public $product = 'imagerecog';
22
23
    /** @var string */
24
    public $version = '2019-09-30';
25
26
    /** @var string */
27
    public $method = 'POST';
28
29
    /** @var string */
30
    public $serviceCode = 'imagerecog';
31
}
32
33
/**
34
 * @method string getUrl()
35
 */
36
class DetectImageElements extends Rpc
37
{
38
39
    /**
40
     * @param string $value
41
     *
42
     * @return $this
43
     */
44
    public function withUrl($value)
45
    {
46
        $this->data['Url'] = $value;
47
        $this->options['form_params']['Url'] = $value;
48
49
        return $this;
50
    }
51
}
52
53
/**
54
 * @method string getUrl()
55
 * @method string getColorCount()
56
 */
57
class RecognizeImageColor extends Rpc
58
{
59
60
    /**
61
     * @param string $value
62
     *
63
     * @return $this
64
     */
65
    public function withUrl($value)
66
    {
67
        $this->data['Url'] = $value;
68
        $this->options['form_params']['Url'] = $value;
69
70
        return $this;
71
    }
72
73
    /**
74
     * @param string $value
75
     *
76
     * @return $this
77
     */
78
    public function withColorCount($value)
79
    {
80
        $this->data['ColorCount'] = $value;
81
        $this->options['form_params']['ColorCount'] = $value;
82
83
        return $this;
84
    }
85
}
86
87
/**
88
 * @method string getUrl()
89
 */
90
class RecognizeImageStyle extends Rpc
91
{
92
93
    /**
94
     * @param string $value
95
     *
96
     * @return $this
97
     */
98
    public function withUrl($value)
99
    {
100
        $this->data['Url'] = $value;
101
        $this->options['form_params']['Url'] = $value;
102
103
        return $this;
104
    }
105
}
106
107
/**
108
 * @method string getImageType()
109
 * @method string getImageURL()
110
 */
111
class RecognizeScene extends Rpc
112
{
113
114
    /**
115
     * @param string $value
116
     *
117
     * @return $this
118
     */
119
    public function withImageType($value)
120
    {
121
        $this->data['ImageType'] = $value;
122
        $this->options['form_params']['ImageType'] = $value;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @param string $value
129
     *
130
     * @return $this
131
     */
132
    public function withImageURL($value)
133
    {
134
        $this->data['ImageURL'] = $value;
135
        $this->options['form_params']['ImageURL'] = $value;
136
137
        return $this;
138
    }
139
}
140
141
/**
142
 * @method string getImageType()
143
 * @method string getImageURL()
144
 */
145
class TaggingImage extends Rpc
146
{
147
148
    /**
149
     * @param string $value
150
     *
151
     * @return $this
152
     */
153
    public function withImageType($value)
154
    {
155
        $this->data['ImageType'] = $value;
156
        $this->options['form_params']['ImageType'] = $value;
157
158
        return $this;
159
    }
160
161
    /**
162
     * @param string $value
163
     *
164
     * @return $this
165
     */
166
    public function withImageURL($value)
167
    {
168
        $this->data['ImageURL'] = $value;
169
        $this->options['form_params']['ImageURL'] = $value;
170
171
        return $this;
172
    }
173
}
174