Code Duplication    Length = 9-9 lines in 3 locations

src/Paystack/Routes/Invoice.php 3 locations

@@ 43-51 (lines=9) @@
40
        ];
41
    }
42
43
    public static function fetch()
44
    {
45
        return [
46
            RouteInterface::METHOD_KEY => RouteInterface::GET_METHOD,
47
            RouteInterface::ENDPOINT_KEY => Invoice::root() . '/{invoice_id_or_code}',
48
            RouteInterface::ARGS_KEY => ['invoice_id_or_code'],
49
            RouteInterface::REQUIRED_KEY => [RouteInterface::ARGS_KEY => ['invoice_id_or_code']],
50
        ];
51
    }
52
53
    public static function getList()
54
    {
@@ 65-73 (lines=9) @@
62
        ];
63
    }
64
65
    public static function verify()
66
    {
67
        return [
68
            RouteInterface::METHOD_KEY => RouteInterface::GET_METHOD,
69
            RouteInterface::ENDPOINT_KEY => Invoice::root() . '/verify/{invoice_id_or_code}',
70
            RouteInterface::ARGS_KEY => ['invoice_id_or_code'],
71
            RouteInterface::REQUIRED_KEY => [RouteInterface::ARGS_KEY => ['invoice_id_or_code']],
72
        ];
73
    }
74
75
    public static function notify()
76
    {
@@ 91-99 (lines=9) @@
88
        ];
89
    }
90
91
    public static function finalize()
92
    {
93
        return [
94
            RouteInterface::METHOD_KEY => RouteInterface::POST_METHOD,
95
            RouteInterface::ENDPOINT_KEY => Invoice::root() . '/finalize/{invoice_id_or_code}',
96
            RouteInterface::ARGS_KEY => ['invoice_id_or_code'],
97
            RouteInterface::REQUIRED_KEY => [RouteInterface::ARGS_KEY => ['invoice_id_or_code']],
98
        ];
99
    }
100
101
    public static function update()
102
    {