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.

Roa   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 8
c 1
b 0
f 0
dl 0
loc 25
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A parameterPosition() 0 3 1
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
 * @codeCoverageIgnore
15
 * @package AlibabaCloud\Client\Resolver
16
 */
17
abstract class Roa extends RoaRequest
18
{
19
    use ActionResolverTrait;
20
    use CallTrait;
21
22
    /**
23
     * @param array $options
24
     *
25
     * @throws ReflectionException
26
     * @throws ClientException
27
     */
28
    public function __construct(array $options = [])
29
    {
30
        parent::__construct($options);
31
32
        $this->resolveActionName();
33
        $this->appendSdkUA();
34
    }
35
36
    /**
37
     * @return mixed
38
     */
39
    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...
40
    {
41
        return $this->pathParameters;
42
    }
43
}
44