Code Duplication    Length = 7-8 lines in 2 locations

src/Paystack/Routes/Transfer.php 2 locations

@@ 27-34 (lines=8) @@
24
        ];
25
    }
26
27
    public static function finalizeTransfer()
28
    {
29
        return [RouteInterface::METHOD_KEY   => RouteInterface::POST_METHOD,
30
            RouteInterface::ENDPOINT_KEY => Transfer::root() . '/finalize_transfer',
31
            RouteInterface::PARAMS_KEY   => ['reference',
32
                'transfer_code',
33
                'otp' ] ];
34
    }
35
36
    public static function resendOtp()
37
    {
@@ 36-42 (lines=7) @@
33
                'otp' ] ];
34
    }
35
36
    public static function resendOtp()
37
    {
38
        return [RouteInterface::METHOD_KEY   => RouteInterface::POST_METHOD,
39
            RouteInterface::ENDPOINT_KEY => Transfer::root() . '/resend_otp',
40
            RouteInterface::PARAMS_KEY   => ['transfer_code',
41
                'reason'] ];
42
    }
43
44
    public static function disableOtp()
45
    {