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
Pull Request — master (#155)
by Yong
03:34
created

Roa::__construct()   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\Client\Resolver;
4
5
use AlibabaCloud\Client\AlibabaCloud;
6
use AlibabaCloud\Client\Exception\ClientException;
7
use AlibabaCloud\Client\Request\RoaRequest;
8
use ReflectionClass;
9
use ReflectionException;
10
11
/**
12
 * Class Roa
13
 *
14
 * @internal
15
 * @codeCoverageIgnore
16
 * @package AlibabaCloud\Client\Resolver
17
 */
18
abstract class Roa extends RoaRequest
19
{
20
    use ActionResolverTrait;
21
    use CallTrait;
22
23
    /**
24
     * @param array $options
25
     *
26
     * @throws ReflectionException
27
     * @throws ClientException
28
     */
29
    public function __construct(array $options = [])
30
    {
31
        parent::__construct($options);
32
33
        $this->resolveActionName();
34
        $this->appendSdkUA();
35
    }
36
37
    /**
38
     * @return mixed
39
     */
40
    private function &parameterPosition()
0 ignored issues
show
Unused Code introduced by
The method parameterPosition() is not used, and could be removed.

This check looks for private methods that have been defined, but are not used inside the class.

Loading history...
41
    {
42
        return $this->pathParameters;
43
    }
44
}
45