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 ( fdfe63...652a8b )
by
unknown
20:59 queued 15:26
created

RecognizeLicensePlate::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\Ocr\V20191230;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method RecognizeBankCard recognizeBankCard(array $options = [])
9
 * @method RecognizeIdentityCard recognizeIdentityCard(array $options = [])
10
 * @method RecognizeLicensePlate recognizeLicensePlate(array $options = [])
11
 */
12
class OcrApiResolver extends ApiResolver
13
{
14
}
15
16
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
17
{
18
    /** @var string */
19
    public $product = 'ocr';
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 = 'ocr';
29
}
30
31
/**
32
 * @method string getImageType()
33
 * @method string getImageURL()
34
 * @method string getImageContent()
35
 */
36
class RecognizeBankCard 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 withImageURL($value)
58
    {
59
        $this->data['ImageURL'] = $value;
60
        $this->options['form_params']['ImageURL'] = $value;
61
62
        return $this;
63
    }
64
65
    /**
66
     * @param string $value
67
     *
68
     * @return $this
69
     */
70
    public function withImageContent($value)
71
    {
72
        $this->data['ImageContent'] = $value;
73
        $this->options['form_params']['ImageContent'] = $value;
74
75
        return $this;
76
    }
77
}
78
79
/**
80
 * @method string getImageType()
81
 * @method string getSide()
82
 * @method string getImageURL()
83
 * @method string getImageContent()
84
 */
85
class RecognizeIdentityCard extends Rpc
86
{
87
88
    /**
89
     * @param string $value
90
     *
91
     * @return $this
92
     */
93
    public function withImageType($value)
94
    {
95
        $this->data['ImageType'] = $value;
96
        $this->options['form_params']['ImageType'] = $value;
97
98
        return $this;
99
    }
100
101
    /**
102
     * @param string $value
103
     *
104
     * @return $this
105
     */
106
    public function withSide($value)
107
    {
108
        $this->data['Side'] = $value;
109
        $this->options['form_params']['Side'] = $value;
110
111
        return $this;
112
    }
113
114
    /**
115
     * @param string $value
116
     *
117
     * @return $this
118
     */
119
    public function withImageURL($value)
120
    {
121
        $this->data['ImageURL'] = $value;
122
        $this->options['form_params']['ImageURL'] = $value;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @param string $value
129
     *
130
     * @return $this
131
     */
132
    public function withImageContent($value)
133
    {
134
        $this->data['ImageContent'] = $value;
135
        $this->options['form_params']['ImageContent'] = $value;
136
137
        return $this;
138
    }
139
}
140
141
/**
142
 * @method string getImageType()
143
 * @method string getImageURL()
144
 * @method string getImageContent()
145
 */
146
class RecognizeLicensePlate extends Rpc
147
{
148
149
    /**
150
     * @param string $value
151
     *
152
     * @return $this
153
     */
154
    public function withImageType($value)
155
    {
156
        $this->data['ImageType'] = $value;
157
        $this->options['form_params']['ImageType'] = $value;
158
159
        return $this;
160
    }
161
162
    /**
163
     * @param string $value
164
     *
165
     * @return $this
166
     */
167
    public function withImageURL($value)
168
    {
169
        $this->data['ImageURL'] = $value;
170
        $this->options['form_params']['ImageURL'] = $value;
171
172
        return $this;
173
    }
174
175
    /**
176
     * @param string $value
177
     *
178
     * @return $this
179
     */
180
    public function withImageContent($value)
181
    {
182
        $this->data['ImageContent'] = $value;
183
        $this->options['form_params']['ImageContent'] = $value;
184
185
        return $this;
186
    }
187
}
188