Code Duplication    Length = 8-8 lines in 2 locations

src/Gateways/Wechat/GroupRedpackGateway.php 1 location

@@ 55-62 (lines=8) @@
52
     *
53
     * @param $billno
54
     */
55
    public function find($billno): array
56
    {
57
        return [
58
            'endpoint' => 'mmpaymkttransfers/gethbinfo',
59
            'order' => ['mch_billno' => $billno, 'bill_type' => 'MCHT'],
60
            'cert' => true,
61
        ];
62
    }
63
64
    /**
65
     * Get trade type config.

src/Gateways/Wechat/RedpackGateway.php 1 location

@@ 59-66 (lines=8) @@
56
     *
57
     * @param $billno
58
     */
59
    public function find($billno): array
60
    {
61
        return [
62
            'endpoint' => 'mmpaymkttransfers/gethbinfo',
63
            'order' => ['mch_billno' => $billno, 'bill_type' => 'MCHT'],
64
            'cert' => true,
65
        ];
66
    }
67
68
    /**
69
     * Get trade type config.