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 ( 324459...8b9c3a )
by
unknown
06:22
created

CompareFace   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
eloc 10
c 1
b 0
f 0
dl 0
loc 40
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A withImageURLA() 0 6 1
A withImageURLB() 0 6 1
A withImageType() 0 6 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 RecognizeFace recognizeFace(array $options = [])
11
 */
12
class FacebodyApiResolver extends ApiResolver
13
{
14
}
15
16
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
17
{
18
    /** @var string */
19
    public $product = 'facebody';
20
21
    /** @var string */
22
    public $version = '2019-12-30';
23
24
    /** @var string */
25
    public $method = 'POST';
26
27
    /** @var string */
28
    public $serviceCode = 'facebody';
29
}
30
31
/**
32
 * @method string getImageType()
33
 * @method string getImageURLB()
34
 * @method string getImageURLA()
35
 */
36
class CompareFace extends Rpc
37
{
38
39
    /**
40
     * @param string $value
41
     *
42
     * @return $this
43
     */
44
    public function withImageType($value)
45
    {
46
        $this->data['ImageType'] = $value;
47
        $this->options['form_params']['ImageType'] = $value;
48
49
        return $this;
50
    }
51
52
    /**
53
     * @param string $value
54
     *
55
     * @return $this
56
     */
57
    public function withImageURLB($value)
58
    {
59
        $this->data['ImageURLB'] = $value;
60
        $this->options['form_params']['ImageURLB'] = $value;
61
62
        return $this;
63
    }
64
65
    /**
66
     * @param string $value
67
     *
68
     * @return $this
69
     */
70
    public function withImageURLA($value)
71
    {
72
        $this->data['ImageURLA'] = $value;
73
        $this->options['form_params']['ImageURLA'] = $value;
74
75
        return $this;
76
    }
77
}
78
79
/**
80
 * @method string getImageType()
81
 * @method string getImageURL()
82
 */
83
class DetectFace extends Rpc
84
{
85
86
    /**
87
     * @param string $value
88
     *
89
     * @return $this
90
     */
91
    public function withImageType($value)
92
    {
93
        $this->data['ImageType'] = $value;
94
        $this->options['form_params']['ImageType'] = $value;
95
96
        return $this;
97
    }
98
99
    /**
100
     * @param string $value
101
     *
102
     * @return $this
103
     */
104
    public function withImageURL($value)
105
    {
106
        $this->data['ImageURL'] = $value;
107
        $this->options['form_params']['ImageURL'] = $value;
108
109
        return $this;
110
    }
111
}
112
113
/**
114
 * @method string getImageType()
115
 * @method string getImageURL()
116
 */
117
class RecognizeFace extends Rpc
118
{
119
120
    /**
121
     * @param string $value
122
     *
123
     * @return $this
124
     */
125
    public function withImageType($value)
126
    {
127
        $this->data['ImageType'] = $value;
128
        $this->options['form_params']['ImageType'] = $value;
129
130
        return $this;
131
    }
132
133
    /**
134
     * @param string $value
135
     *
136
     * @return $this
137
     */
138
    public function withImageURL($value)
139
    {
140
        $this->data['ImageURL'] = $value;
141
        $this->options['form_params']['ImageURL'] = $value;
142
143
        return $this;
144
    }
145
}
146