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 ( 62d129...62a85a )
by
unknown
06:01
created

LivenessDetect   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 66
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 5
eloc 16
dl 0
loc 66
rs 10
c 1
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A withBizType() 0 6 1
A withMediaFile() 0 6 1
A withMediaCategory() 0 6 1
A withBizId() 0 6 1
A withMediaUrl() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Cloudauth\V20201112;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method LivenessDetect livenessDetect(array $options = [])
9
 */
10
class CloudauthApiResolver extends ApiResolver
11
{
12
}
13
14
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
15
{
16
    /** @var string */
17
    public $product = 'Cloudauth';
18
19
    /** @var string */
20
    public $version = '2020-11-12';
21
22
    /** @var string */
23
    public $method = 'POST';
24
25
    /** @var string */
26
    public $serviceCode = 'cloudauth';
27
}
28
29
/**
30
 * @method string getMediaCategory()
31
 * @method string getMediaUrl()
32
 * @method string getBizType()
33
 * @method string getBizId()
34
 * @method string getMediaFile()
35
 */
36
class LivenessDetect extends Rpc
37
{
38
39
    /**
40
     * @param string $value
41
     *
42
     * @return $this
43
     */
44
    public function withMediaCategory($value)
45
    {
46
        $this->data['MediaCategory'] = $value;
47
        $this->options['form_params']['MediaCategory'] = $value;
48
49
        return $this;
50
    }
51
52
    /**
53
     * @param string $value
54
     *
55
     * @return $this
56
     */
57
    public function withMediaUrl($value)
58
    {
59
        $this->data['MediaUrl'] = $value;
60
        $this->options['form_params']['MediaUrl'] = $value;
61
62
        return $this;
63
    }
64
65
    /**
66
     * @param string $value
67
     *
68
     * @return $this
69
     */
70
    public function withBizType($value)
71
    {
72
        $this->data['BizType'] = $value;
73
        $this->options['form_params']['BizType'] = $value;
74
75
        return $this;
76
    }
77
78
    /**
79
     * @param string $value
80
     *
81
     * @return $this
82
     */
83
    public function withBizId($value)
84
    {
85
        $this->data['BizId'] = $value;
86
        $this->options['form_params']['BizId'] = $value;
87
88
        return $this;
89
    }
90
91
    /**
92
     * @param string $value
93
     *
94
     * @return $this
95
     */
96
    public function withMediaFile($value)
97
    {
98
        $this->data['MediaFile'] = $value;
99
        $this->options['form_params']['MediaFile'] = $value;
100
101
        return $this;
102
    }
103
}
104