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 ( d5530d...c4375d )
by
unknown
23:08 queued 14:57
created

DetectVehicle::withImageContent()   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
 */
42
class DetectVehicle extends Rpc
43
{
44
45
    /**
46
     * @param string $value
47
     *
48
     * @return $this
49
     */
50
    public function withImageType($value)
51
    {
52
        $this->data['ImageType'] = $value;
53
        $this->options['form_params']['ImageType'] = $value;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @param string $value
60
     *
61
     * @return $this
62
     */
63
    public function withImageURL($value)
64
    {
65
        $this->data['ImageURL'] = $value;
66
        $this->options['form_params']['ImageURL'] = $value;
67
68
        return $this;
69
    }
70
}
71