| 1 | <?php |
||
| 2 | |||
| 3 | namespace AlibabaCloud\Client\Resolver; |
||
| 4 | |||
| 5 | use AlibabaCloud\Client\Exception\ClientException; |
||
| 6 | use AlibabaCloud\Client\Request\RpcRequest; |
||
| 7 | use ReflectionException; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Class Rpc |
||
| 11 | * |
||
| 12 | * @codeCoverageIgnore |
||
| 13 | * @package AlibabaCloud\Client\Resolver |
||
| 14 | */ |
||
| 15 | abstract class Rpc extends RpcRequest |
||
| 16 | { |
||
| 17 | use ActionResolverTrait; |
||
| 18 | use CallTrait; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param array $options |
||
| 22 | * |
||
| 23 | * @throws ReflectionException |
||
| 24 | * @throws ClientException |
||
| 25 | */ |
||
| 26 | public function __construct(array $options = []) |
||
| 27 | { |
||
| 28 | parent::__construct($options); |
||
| 29 | |||
| 30 | $this->resolveActionName(); |
||
| 31 | $this->appendSdkUA(); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return mixed |
||
| 36 | */ |
||
| 37 | private function ¶meterPosition() |
||
|
0 ignored issues
–
show
|
|||
| 38 | { |
||
| 39 | return $this->options['query']; |
||
| 40 | } |
||
| 41 | } |
||
| 42 |
This check looks for private methods that have been defined, but are not used inside the class.