Test Failed
Push — master ( c62a52...9f7749 )
by Mehmet
03:07 queued 10s
created

QueryAbstract::processArguments()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 3
rs 10
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
}
22