Test Failed
Push — master ( 53d82e...9a7f3b )
by Mehmet
02:15
created

QueryAbstract   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 3
lcom 1
cbo 1

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getQuery() 0 5 1
A getAction() 0 4 1
A processArguments() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace MerchantSafeUnipay\SDK\Action\Query;
5
6
use MerchantSafeUnipay;
7
use MerchantSafeUnipay\SDK\Action\ActionAbstract;
8
9
abstract class QueryAbstract extends ActionAbstract
10
{
11
    public function getQuery($args)
12
    {
13
        $args = MerchantSafeUnipay\filter(static::$queryParamKeys, $args);
14
        $this->queryParameters = array_merge($this->merchantParams, $args);
15
    }
16
17
    public function getAction()
18
    {
19
        return static::$queryAction;
20
    }
21
    public function processArguments()
22
    {
23
    }
24
}
25