Code Duplication    Length = 5-5 lines in 2 locations

src/momo/RequestData.php 2 locations

@@ 123-127 (lines=5) @@
120
                ];
121
                break;
122
            case PaymentGateway::RC_QUERY_DR:
123
            case PaymentGateway::RC_QUERY_REFUND:
124
                $attributesSign = [
125
                    'partnerCode', 'accessKey', 'requestId', 'orderId', 'requestType' => $this->getRequestType()
126
                ];
127
                break;
128
            case PaymentGateway::RC_REFUND:
129
                $attributesSign = [
130
                    'partnerCode', 'accessKey', 'requestId', 'amount', 'orderId', 'transId', 'requestType' => $this->getRequestType()
@@ 128-132 (lines=5) @@
125
                    'partnerCode', 'accessKey', 'requestId', 'orderId', 'requestType' => $this->getRequestType()
126
                ];
127
                break;
128
            case PaymentGateway::RC_REFUND:
129
                $attributesSign = [
130
                    'partnerCode', 'accessKey', 'requestId', 'amount', 'orderId', 'transId', 'requestType' => $this->getRequestType()
131
                ];
132
                break;
133
            default:
134
                throw new NotSupportedException("Not supported command: `$command`");
135
        }