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 ( 9f54fd...f6d003 )
by
unknown
14:00
created

DetectMask::withImageURL()   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
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Facebody\V20191230;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CompareFace compareFace(array $options = [])
9
 * @method DetectFace detectFace(array $options = [])
10
 * @method DetectMask detectMask(array $options = [])
11
 * @method RecognizeFace recognizeFace(array $options = [])
12
 */
13
class FacebodyApiResolver extends ApiResolver
14
{
15
}
16
17
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
18
{
19
    /** @var string */
20
    public $product = 'facebody';
21
22
    /** @var string */
23
    public $version = '2019-12-30';
24
25
    /** @var string */
26
    public $method = 'POST';
27
28
    /** @var string */
29
    public $serviceCode = 'facebody';
30
}
31
32
/**
33
 * @method string getImageType()
34
 * @method string getImageURLB()
35
 * @method string getImageURLA()
36
 */
37
class CompareFace extends Rpc
38
{
39
40
    /**
41
     * @param string $value
42
     *
43
     * @return $this
44
     */
45
    public function withImageType($value)
46
    {
47
        $this->data['ImageType'] = $value;
48
        $this->options['form_params']['ImageType'] = $value;
49
50
        return $this;
51
    }
52
53
    /**
54
     * @param string $value
55
     *
56
     * @return $this
57
     */
58
    public function withImageURLB($value)
59
    {
60
        $this->data['ImageURLB'] = $value;
61
        $this->options['form_params']['ImageURLB'] = $value;
62
63
        return $this;
64
    }
65
66
    /**
67
     * @param string $value
68
     *
69
     * @return $this
70
     */
71
    public function withImageURLA($value)
72
    {
73
        $this->data['ImageURLA'] = $value;
74
        $this->options['form_params']['ImageURLA'] = $value;
75
76
        return $this;
77
    }
78
}
79
80
/**
81
 * @method string getImageType()
82
 * @method string getImageURL()
83
 */
84
class DetectFace extends Rpc
85
{
86
87
    /**
88
     * @param string $value
89
     *
90
     * @return $this
91
     */
92
    public function withImageType($value)
93
    {
94
        $this->data['ImageType'] = $value;
95
        $this->options['form_params']['ImageType'] = $value;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @param string $value
102
     *
103
     * @return $this
104
     */
105
    public function withImageURL($value)
106
    {
107
        $this->data['ImageURL'] = $value;
108
        $this->options['form_params']['ImageURL'] = $value;
109
110
        return $this;
111
    }
112
}
113
114
/**
115
 * @method string getImageURL()
116
 */
117
class DetectMask extends Rpc
118
{
119
120
    /**
121
     * @param string $value
122
     *
123
     * @return $this
124
     */
125
    public function withImageURL($value)
126
    {
127
        $this->data['ImageURL'] = $value;
128
        $this->options['form_params']['ImageURL'] = $value;
129
130
        return $this;
131
    }
132
}
133
134
/**
135
 * @method string getImageType()
136
 * @method string getImageURL()
137
 */
138
class RecognizeFace extends Rpc
139
{
140
141
    /**
142
     * @param string $value
143
     *
144
     * @return $this
145
     */
146
    public function withImageType($value)
147
    {
148
        $this->data['ImageType'] = $value;
149
        $this->options['form_params']['ImageType'] = $value;
150
151
        return $this;
152
    }
153
154
    /**
155
     * @param string $value
156
     *
157
     * @return $this
158
     */
159
    public function withImageURL($value)
160
    {
161
        $this->data['ImageURL'] = $value;
162
        $this->options['form_params']['ImageURL'] = $value;
163
164
        return $this;
165
    }
166
}
167