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.
Passed
Push — master ( aec65f...37d13d )
by
unknown
07:35
created

ImageResult::withTaskid()   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
dl 0
loc 6
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Green\V20161222;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method TextKeywordFilter textKeywordFilter(array $options = [])
9
 * @method SampleFeedback sampleFeedback(array $options = [])
10
 * @method ImageResults imageResults(array $options = [])
11
 * @method ImageResult imageResult(array $options = [])
12
 * @method ImageDetection imageDetection(array $options = [])
13
 */
14
class GreenApiResolver extends ApiResolver
15
{
16
}
17
18
class Roa extends \AlibabaCloud\Client\Resolver\Roa
19
{
20
    /** @var string */
21
    public $product = 'Green';
22
23
    /** @var string */
24
    public $version = '2016-12-22';
25
26
    /** @var string */
27
    public $method = 'POST';
28
29
    /** @var string */
30
    public $serviceCode = 'green';
31
}
32
33
class TextKeywordFilter extends Roa
34
{
35
    /** @var string */
36
    public $pathPattern = '/text/keyword_filter';
37
}
38
39
class SampleFeedback extends Roa
40
{
41
    /** @var string */
42
    public $pathPattern = '/sample/feedback';
43
}
44
45
class ImageResults extends Roa
46
{
47
    /** @var string */
48
    public $pathPattern = '/image/results';
49
}
50
51
/**
52
 * @method string getTaskid()
53
 */
54
class ImageResult extends Roa
55
{
56
    /** @var string */
57
    public $pathPattern = '/image/result/[taskid]';
58
59
    /** @var string */
60
    public $method = 'GET';
61
62
    /**
63
     * @param string $value
64
     *
65
     * @return $this
66
     */
67
    public function withTaskid($value)
68
    {
69
        $this->data['Taskid'] = $value;
70
        $this->pathParameters['taskid'] = $value;
71
72
        return $this;
73
    }
74
}
75
76
class ImageDetection extends Roa
77
{
78
    /** @var string */
79
    public $pathPattern = '/image/detection';
80
}
81