Code Duplication    Length = 9-9 lines in 2 locations

src/SDK/Action/RecurringPlan.php 1 location

@@ 33-41 (lines=9) @@
30
        $this->queryParameters = $args;
31
    }
32
33
    public function delete($args)
34
    {
35
        $this->action = 'RECURRINGPLANDELETE';
36
        $queryParamKeys = [
37
            'RECURRINGPLANCODE'
38
        ];
39
        $args = MerchantSafeUnipay\filter($queryParamKeys, $args);
40
        $this->queryParameters = $args;
41
    }
42
43
    public function resendLink($args)
44
    {

src/SDK/Action/RecurringPlanCard.php 1 location

@@ 21-29 (lines=9) @@
18
        $this->queryParameters = $args;
19
    }
20
21
    public function query($args)
22
    {
23
        $this->action = 'QUERYRECURRINGPLANCARD';
24
        $queryParamKeys = [
25
            'RECURRINGPLANCODE'
26
        ];
27
        $args = MerchantSafeUnipay\filter($queryParamKeys, $args);
28
        $this->queryParameters = $args;
29
    }
30
31
    public function delete($args)
32
    {