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 ( e0d152...402192 )
by Yong
02:28 queued 32s
created

DescribeAvailableRecoveryTime::withBackupId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace AlibabaCloud\Rds\V20140815;
4
5
use AlibabaCloud\Rpc;
6
7
/**
8
 * Api DescribeAvailableRecoveryTime
9
 *
10
 * @method string getBackupId()
11
 */
12
class DescribeAvailableRecoveryTime extends Rpc
13
{
14
    public $product = 'Rds';
15
16
    public $version = '2014-08-15';
17
18
    public $method = 'POST';
19
20
    public $serviceCode = 'rds';
21
22
    /**
23
     * @param string $backupId
24
     *
25
     * @return $this
26
     */
27
    public function withBackupId($backupId)
28
    {
29
        $this->data['BackupId'] = $backupId;
30
        $this->options['query']['BackupId'] = $backupId;
31
32
        return $this;
33
    }
34
}
35