Code Duplication    Length = 9-9 lines in 2 locations

src/SDK/Action/Dealer.php 2 locations

@@ 52-60 (lines=9) @@
49
        $this->queryParameters = $args;
50
    }
51
52
    public function addMerchantUserDealer($args)
53
    {
54
        $this->action = 'MERCHANTUSERDEALERADD';
55
        $queryParamKeys = [
56
            'MERCHANTUSEREMAIL', 'DEALERCODES'
57
        ];
58
        $args = MerchantSafeUnipay\filter($queryParamKeys, $args);
59
        $this->queryParameters = $args;
60
    }
61
62
    public function removeMerchantUserDealer($args)
63
    {
@@ 62-70 (lines=9) @@
59
        $this->queryParameters = $args;
60
    }
61
62
    public function removeMerchantUserDealer($args)
63
    {
64
        $this->action = 'MERCHANTUSERDEALERREMOVE';
65
        $queryParamKeys = [
66
            'MERCHANTUSEREMAIL', 'DEALERCODES'
67
        ];
68
        $args = MerchantSafeUnipay\filter($queryParamKeys, $args);
69
        $this->queryParameters = $args;
70
    }
71
}
72