Code Duplication    Length = 3-3 lines in 2 locations

src/Helpers/Date.php 2 locations

@@ 126-128 (lines=3) @@
123
                return [ceil($uPeriod / 604800), self::$constant["weeks"]];
124
            }
125
126
            if ($uPeriod >= 86400) {
127
                return [ceil($uPeriod / 86400), self::$constant["days"]];
128
            }
129
        } elseif ($uPeriod >= 86400) {
130
            return null;
131
        }
@@ 137-139 (lines=3) @@
134
            return [ceil($uPeriod / 3600), self::$constant["hours"]];
135
        }
136
137
        if ($uPeriod >= 60) {
138
            return [ceil($uPeriod / 60), self::$constant["minutes"]];
139
        }
140
141
        if ($uPeriod > 0) {
142
            return [ceil($uPeriod), self::$constant["seconds"]];