Code Duplication    Length = 8-8 lines in 2 locations

src/Currency.php 2 locations

@@ 74-81 (lines=8) @@
71
     *
72
     * @return int
73
     */
74
    public static function getDivisionOffset($code)
75
    {
76
        return [
77
            self::JPY => 1,
78
            self::SGD => 100,
79
            self::THB => 100,
80
        ][strtolower($code)];
81
    }
82
83
    /**
84
     * @param string $code
@@ 88-95 (lines=8) @@
85
     *
86
     * @return int
87
     */
88
    public static function getSymblo($code)
89
    {
90
        return [
91
            self::JPY => '¥',
92
            self::SGD => '$',
93
            self::THB => '฿',
94
        ][strtolower($code)];
95
    }
96
97
    /**
98
     * @param int $amount