Code Duplication    Length = 5-5 lines in 2 locations

src/momo/RequestData.php 2 locations

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