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 ( 4cef9c...d6d9cf )
by
unknown
28:14 queued 21:48
created

SegmentVehicle::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\Imageseg\V20191230;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ParseFace parseFace(array $options = [])
9
 * @method SegmentBody segmentBody(array $options = [])
10
 * @method SegmentCommodity segmentCommodity(array $options = [])
11
 * @method SegmentCommonImage segmentCommonImage(array $options = [])
12
 * @method SegmentFace segmentFace(array $options = [])
13
 * @method SegmentHair segmentHair(array $options = [])
14
 * @method SegmentHead segmentHead(array $options = [])
15
 * @method SegmentVehicle segmentVehicle(array $options = [])
16
 */
17
class ImagesegApiResolver extends ApiResolver
18
{
19
}
20
21
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
22
{
23
    /** @var string */
24
    public $product = 'imageseg';
25
26
    /** @var string */
27
    public $version = '2019-12-30';
28
29
    /** @var string */
30
    public $method = 'POST';
31
32
    /** @var string */
33
    public $serviceCode = 'imageseg';
34
}
35
36
/**
37
 * @method string getImageURL()
38
 * @method $this withImageURL($value)
39
 */
40
class ParseFace extends Rpc
41
{
42
}
43
44
/**
45
 * @method string getImageURL()
46
 * @method $this withImageURL($value)
47
 */
48
class SegmentBody extends Rpc
49
{
50
}
51
52
/**
53
 * @method string getImageURL()
54
 * @method $this withImageURL($value)
55
 */
56
class SegmentCommodity extends Rpc
57
{
58
}
59
60
/**
61
 * @method string getImageURL()
62
 * @method $this withImageURL($value)
63
 */
64
class SegmentCommonImage extends Rpc
65
{
66
}
67
68
/**
69
 * @method string getImageURL()
70
 * @method $this withImageURL($value)
71
 */
72
class SegmentFace extends Rpc
73
{
74
}
75
76
/**
77
 * @method string getImageURL()
78
 * @method $this withImageURL($value)
79
 */
80
class SegmentHair extends Rpc
81
{
82
}
83
84
/**
85
 * @method string getImageURL()
86
 * @method $this withImageURL($value)
87
 */
88
class SegmentHead extends Rpc
89
{
90
}
91
92
/**
93
 * @method string getImageURL()
94
 */
95
class SegmentVehicle extends Rpc
96
{
97
98
    /**
99
     * @param string $value
100
     *
101
     * @return $this
102
     */
103
    public function withImageURL($value)
104
    {
105
        $this->data['ImageURL'] = $value;
106
        $this->options['form_params']['ImageURL'] = $value;
107
108
        return $this;
109
    }
110
}
111