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 ( 1858de...f1a9d0 )
by
unknown
15:38 queued 10:48
created

DetectVehicle::withImageType()   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\Objectdet\V20191230;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DetectMainBody detectMainBody(array $options = [])
9
 * @method DetectVehicle detectVehicle(array $options = [])
10
 */
11
class ObjectdetApiResolver extends ApiResolver
12
{
13
}
14
15
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
16
{
17
    /** @var string */
18
    public $product = 'objectdet';
19
20
    /** @var string */
21
    public $version = '2019-12-30';
22
23
    /** @var string */
24
    public $method = 'POST';
25
26
    /** @var string */
27
    public $serviceCode = 'objectdet';
28
}
29
30
/**
31
 * @method string getImageURL()
32
 * @method $this withImageURL($value)
33
 */
34
class DetectMainBody extends Rpc
35
{
36
}
37
38
/**
39
 * @method string getImageType()
40
 * @method string getImageURL()
41
 * @method string getImageContent()
42
 */
43
class DetectVehicle extends Rpc
44
{
45
46
    /**
47
     * @param string $value
48
     *
49
     * @return $this
50
     */
51
    public function withImageType($value)
52
    {
53
        $this->data['ImageType'] = $value;
54
        $this->options['form_params']['ImageType'] = $value;
55
56
        return $this;
57
    }
58
59
    /**
60
     * @param string $value
61
     *
62
     * @return $this
63
     */
64
    public function withImageURL($value)
65
    {
66
        $this->data['ImageURL'] = $value;
67
        $this->options['form_params']['ImageURL'] = $value;
68
69
        return $this;
70
    }
71
72
    /**
73
     * @param string $value
74
     *
75
     * @return $this
76
     */
77
    public function withImageContent($value)
78
    {
79
        $this->data['ImageContent'] = $value;
80
        $this->options['form_params']['ImageContent'] = $value;
81
82
        return $this;
83
    }
84
}
85