Code Duplication    Length = 13-13 lines in 3 locations

src/Message/AllInOne/QueryRefundResponse.php 1 location

@@ 14-26 (lines=13) @@
11
 * @author Vuong Minh <[email protected]>
12
 * @since 1.0.0
13
 */
14
class QueryRefundResponse extends AbstractSignatureResponse
15
{
16
    /**
17
     * {@inheritdoc}
18
     */
19
    protected function getSignatureParameters(): array
20
    {
21
        return [
22
            'partnerCode', 'accessKey', 'requestId', 'orderId', 'errorCode', 'transId', 'amount', 'message',
23
            'localMessage', 'requestType',
24
        ];
25
    }
26
}
27

src/Message/AllInOne/QueryTransactionResponse.php 1 location

@@ 14-26 (lines=13) @@
11
 * @author Vuong Minh <[email protected]>
12
 * @since 1.0.0
13
 */
14
class QueryTransactionResponse extends AbstractSignatureResponse
15
{
16
    /**
17
     * {@inheritdoc}
18
     */
19
    protected function getSignatureParameters(): array
20
    {
21
        return [
22
            'partnerCode', 'accessKey', 'requestId', 'orderId', 'errorCode', 'transId', 'amount', 'message',
23
            'localMessage', 'requestType', 'payType', 'extraData',
24
        ];
25
    }
26
}
27

src/Message/AllInOne/RefundResponse.php 1 location

@@ 14-26 (lines=13) @@
11
 * @author Vuong Minh <[email protected]>
12
 * @since 1.0.0
13
 */
14
class RefundResponse extends AbstractSignatureResponse
15
{
16
    /**
17
     * {@inheritdoc}
18
     */
19
    protected function getSignatureParameters(): array
20
    {
21
        return [
22
            'partnerCode', 'accessKey', 'requestId', 'orderId', 'errorCode', 'transId', 'message',
23
            'localMessage', 'requestType',
24
        ];
25
    }
26
}
27