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 ( b831a0...62e276 )
by
unknown
09:09
created

GetDeviceShortChainUrl::withLongterm()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 3
c 1
b 0
f 1
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\UniMkt\V20190724;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method GetDeviceShortChainUrl getDeviceShortChainUrl(array $options = [])
9
 */
10
class UniMktApiResolver extends ApiResolver
11
{
12
}
13
14
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
15
{
16
    /** @var string */
17
    public $product = 'UniMkt';
18
19
    /** @var string */
20
    public $version = '2019-07-24';
21
22
    /** @var string */
23
    public $method = 'POST';
24
25
    /** @var string */
26
    protected $scheme = 'https';
27
28
    /** @var string */
29
    public $serviceCode = '1.0.0';
30
}
31
32
/**
33
 * @method string getLongterm()
34
 * @method string getUrl()
35
 */
36
class GetDeviceShortChainUrl extends Rpc
37
{
38
39
    /**
40
     * @param string $value
41
     *
42
     * @return $this
43
     */
44
    public function withLongterm($value)
45
    {
46
        $this->data['Longterm'] = $value;
47
        $this->options['form_params']['Longterm'] = $value;
48
49
        return $this;
50
    }
51
52
    /**
53
     * @param string $value
54
     *
55
     * @return $this
56
     */
57
    public function withUrl($value)
58
    {
59
        $this->data['Url'] = $value;
60
        $this->options['form_params']['Url'] = $value;
61
62
        return $this;
63
    }
64
}
65